@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Repository extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a repository.
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time, in JavaScript date format, when the repository was created.
|
EncryptionConfiguration |
getEncryptionConfiguration()
The encryption configuration for the repository.
|
ImageScanningConfiguration |
getImageScanningConfiguration() |
String |
getImageTagMutability()
The tag mutability setting for the repository.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the repository.
|
String |
getRepositoryArn()
The Amazon Resource Name (ARN) that identifies the repository.
|
String |
getRepositoryName()
The name of the repository.
|
String |
getRepositoryUri()
The URI for the repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time, in JavaScript date format, when the repository was created.
|
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository.
|
void |
setImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration) |
void |
setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
|
void |
setRepositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository.
|
void |
setRepositoryName(String repositoryName)
The name of the repository.
|
void |
setRepositoryUri(String repositoryUri)
The URI for the repository.
|
String |
toString()
Returns a string representation of this object.
|
Repository |
withCreatedAt(Date createdAt)
The date and time, in JavaScript date format, when the repository was created.
|
Repository |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository.
|
Repository |
withImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration) |
Repository |
withImageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
|
Repository |
withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
|
Repository |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
|
Repository |
withRepositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository.
|
Repository |
withRepositoryName(String repositoryName)
The name of the repository.
|
Repository |
withRepositoryUri(String repositoryUri)
The URI for the repository.
|
public void setRepositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner,
repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository-namespace/repository-name
.
repositoryArn
- The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the
arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account
ID of the repository owner, repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository-namespace/repository-name
.public String getRepositoryArn()
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner,
repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository-namespace/repository-name
.
arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account
ID of the repository owner, repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository-namespace/repository-name
.public Repository withRepositoryArn(String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account ID of the repository owner,
repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository-namespace/repository-name
.
repositoryArn
- The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the
arn:aws:ecr
namespace, followed by the region of the repository, Amazon Web Services account
ID of the repository owner, repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository-namespace/repository-name
.public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
registryId
- The Amazon Web Services account ID associated with the registry that contains the repository.public String getRegistryId()
The Amazon Web Services account ID associated with the registry that contains the repository.
public Repository withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository.
registryId
- The Amazon Web Services account ID associated with the registry that contains 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 Repository withRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public void setRepositoryUri(String repositoryUri)
The URI for the repository. You can use this URI for container image push
and pull
operations.
repositoryUri
- The URI for the repository. You can use this URI for container image push
and
pull
operations.public String getRepositoryUri()
The URI for the repository. You can use this URI for container image push
and pull
operations.
push
and
pull
operations.public Repository withRepositoryUri(String repositoryUri)
The URI for the repository. You can use this URI for container image push
and pull
operations.
repositoryUri
- The URI for the repository. You can use this URI for container image push
and
pull
operations.public void setCreatedAt(Date createdAt)
The date and time, in JavaScript date format, when the repository was created.
createdAt
- The date and time, in JavaScript date format, when the repository was created.public Date getCreatedAt()
The date and time, in JavaScript date format, when the repository was created.
public Repository withCreatedAt(Date createdAt)
The date and time, in JavaScript date format, when the repository was created.
createdAt
- The date and time, in JavaScript date format, when the repository was created.public void setImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability
- The tag mutability setting for the repository.ImageTagMutability
public String getImageTagMutability()
The tag mutability setting for the repository.
ImageTagMutability
public Repository withImageTagMutability(String imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability
- The tag mutability setting for the repository.ImageTagMutability
public Repository withImageTagMutability(ImageTagMutability imageTagMutability)
The tag mutability setting for the repository.
imageTagMutability
- The tag mutability setting for the repository.ImageTagMutability
public void setImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
imageScanningConfiguration
- public ImageScanningConfiguration getImageScanningConfiguration()
public Repository withImageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
imageScanningConfiguration
- public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
encryptionConfiguration
- The encryption configuration for the repository. This determines how the contents of your repository are
encrypted at rest.public EncryptionConfiguration getEncryptionConfiguration()
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
public Repository withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
encryptionConfiguration
- The encryption configuration for the repository. This determines how the contents of your repository are
encrypted at rest.public String toString()
toString
in class Object
Object.toString()
public Repository clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.