@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcrRepositoryDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an Amazon Elastic Container Registry repository.
| Constructor and Description |
|---|
AwsEcrRepositoryDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsEcrRepositoryDetails |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the repository.
|
AwsEcrRepositoryImageScanningConfigurationDetails |
getImageScanningConfiguration()
The image scanning configuration for a repository.
|
String |
getImageTagMutability()
The tag mutability setting for the repository.
|
AwsEcrRepositoryLifecyclePolicyDetails |
getLifecyclePolicy()
Information about the lifecycle policy for the repository.
|
String |
getRepositoryName()
The name of the repository.
|
String |
getRepositoryPolicyText()
The text of the repository policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The ARN of the repository.
|
void |
setImageScanningConfiguration(AwsEcrRepositoryImageScanningConfigurationDetails imageScanningConfiguration)
The image scanning configuration for a repository.
|
void |
setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
void |
setLifecyclePolicy(AwsEcrRepositoryLifecyclePolicyDetails lifecyclePolicy)
Information about the lifecycle policy for the repository.
|
void |
setRepositoryName(String repositoryName)
The name of the repository.
|
void |
setRepositoryPolicyText(String repositoryPolicyText)
The text of the repository policy.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcrRepositoryDetails |
withArn(String arn)
The ARN of the repository.
|
AwsEcrRepositoryDetails |
withImageScanningConfiguration(AwsEcrRepositoryImageScanningConfigurationDetails imageScanningConfiguration)
The image scanning configuration for a repository.
|
AwsEcrRepositoryDetails |
withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
AwsEcrRepositoryDetails |
withLifecyclePolicy(AwsEcrRepositoryLifecyclePolicyDetails lifecyclePolicy)
Information about the lifecycle policy for the repository.
|
AwsEcrRepositoryDetails |
withRepositoryName(String repositoryName)
The name of the repository.
|
AwsEcrRepositoryDetails |
withRepositoryPolicyText(String repositoryPolicyText)
The text of the repository policy.
|
public void setArn(String arn)
The ARN of the repository.
arn - The ARN of the repository.public String getArn()
The ARN of the repository.
public AwsEcrRepositoryDetails withArn(String arn)
The ARN of the repository.
arn - The ARN of the repository.public void setImageScanningConfiguration(AwsEcrRepositoryImageScanningConfigurationDetails imageScanningConfiguration)
The image scanning configuration for a repository.
imageScanningConfiguration - The image scanning configuration for a repository.public AwsEcrRepositoryImageScanningConfigurationDetails getImageScanningConfiguration()
The image scanning configuration for a repository.
public AwsEcrRepositoryDetails withImageScanningConfiguration(AwsEcrRepositoryImageScanningConfigurationDetails imageScanningConfiguration)
The image scanning configuration for a repository.
imageScanningConfiguration - The image scanning configuration for a repository.public void setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability - The tag mutability setting for the repository.public String getImageTagMutability()
The tag mutability setting for the repository.
public AwsEcrRepositoryDetails withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability - The tag mutability setting for the repository.public void setLifecyclePolicy(AwsEcrRepositoryLifecyclePolicyDetails lifecyclePolicy)
Information about the lifecycle policy for the repository.
lifecyclePolicy - Information about the lifecycle policy for the repository.public AwsEcrRepositoryLifecyclePolicyDetails getLifecyclePolicy()
Information about the lifecycle policy for the repository.
public AwsEcrRepositoryDetails withLifecyclePolicy(AwsEcrRepositoryLifecyclePolicyDetails lifecyclePolicy)
Information about the lifecycle policy for the repository.
lifecyclePolicy - Information about the lifecycle policy for the repository.public void setRepositoryName(String repositoryName)
The name of the repository.
repositoryName - The name of the repository.public String getRepositoryName()
The name of the repository.
public AwsEcrRepositoryDetails withRepositoryName(String repositoryName)
The name of the repository.
repositoryName - The name of the repository.public void setRepositoryPolicyText(String repositoryPolicyText)
The text of the repository policy.
repositoryPolicyText - The text of the repository policy.public String getRepositoryPolicyText()
The text of the repository policy.
public AwsEcrRepositoryDetails withRepositoryPolicyText(String repositoryPolicyText)
The text of the repository policy.
repositoryPolicyText - The text of the repository policy.public String toString()
toString in class ObjectObject.toString()public AwsEcrRepositoryDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.