/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Information about an Amazon ECR image. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsEcrContainerImageDetails implements Serializable, Cloneable, StructuredPojo { /** *

* The Amazon Web Services account identifier that is associated with the registry that the image belongs to. *

*/ private String registryId; /** *

* The name of the repository that the image belongs to. *

*/ private String repositoryName; /** *

* The architecture of the image. Valid values are as follows: *

* */ private String architecture; /** *

* The sha256 digest of the image manifest. *

*/ private String imageDigest; /** *

* The list of tags that are associated with the image. *

*/ private java.util.List imageTags; /** *

* The date and time when the image was pushed to the repository. *

*

* Uses the date-time format specified in RFC * 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be * separated by T. For example, 2020-03-22T13:22:13.933Z. *

*/ private String imagePublishedAt; /** *

* The Amazon Web Services account identifier that is associated with the registry that the image belongs to. *

* * @param registryId * The Amazon Web Services account identifier that is associated with the registry that the image belongs to. */ public void setRegistryId(String registryId) { this.registryId = registryId; } /** *

* The Amazon Web Services account identifier that is associated with the registry that the image belongs to. *

* * @return The Amazon Web Services account identifier that is associated with the registry that the image belongs * to. */ public String getRegistryId() { return this.registryId; } /** *

* The Amazon Web Services account identifier that is associated with the registry that the image belongs to. *

* * @param registryId * The Amazon Web Services account identifier that is associated with the registry that the image belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEcrContainerImageDetails withRegistryId(String registryId) { setRegistryId(registryId); return this; } /** *

* The name of the repository that the image belongs to. *

* * @param repositoryName * The name of the repository that the image belongs to. */ public void setRepositoryName(String repositoryName) { this.repositoryName = repositoryName; } /** *

* The name of the repository that the image belongs to. *

* * @return The name of the repository that the image belongs to. */ public String getRepositoryName() { return this.repositoryName; } /** *

* The name of the repository that the image belongs to. *

* * @param repositoryName * The name of the repository that the image belongs to. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEcrContainerImageDetails withRepositoryName(String repositoryName) { setRepositoryName(repositoryName); return this; } /** *

* The architecture of the image. Valid values are as follows: *

* * * @param architecture * The architecture of the image. Valid values are as follows:

*