public class Repository
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Object representing a repository.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
registryId
The AWS account ID associated with the registry that contains the
repository.
|
private java.lang.String |
repositoryArn
The Amazon Resource Name (ARN) that identifies the repository.
|
private java.lang.String |
repositoryName
The name of the repository.
|
private java.lang.String |
repositoryUri
The URI for the repository.
|
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRegistryId()
The AWS account ID associated with the registry that contains the
repository.
|
java.lang.String |
getRepositoryArn()
The Amazon Resource Name (ARN) that identifies the repository.
|
java.lang.String |
getRepositoryName()
The name of the repository.
|
java.lang.String |
getRepositoryUri()
The URI for the repository.
|
int |
hashCode() |
void |
setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository.
|
void |
setRepositoryArn(java.lang.String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository.
|
void |
setRepositoryUri(java.lang.String repositoryUri)
The URI for the repository.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Repository |
withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the
repository.
|
Repository |
withRepositoryArn(java.lang.String repositoryArn)
The Amazon Resource Name (ARN) that identifies the repository.
|
Repository |
withRepositoryName(java.lang.String repositoryName)
The name of the repository.
|
Repository |
withRepositoryUri(java.lang.String repositoryUri)
The URI for the repository.
|
private java.lang.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, the AWS account ID of the repository owner, the
repository namespace, and then the repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.
private java.lang.String registryId
The AWS account ID associated with the registry that contains the repository.
private java.lang.String repositoryName
The name of the repository.
private java.lang.String repositoryUri
The URI for the repository. You can use this URI for Docker
push
and pull
operations.
public void setRepositoryArn(java.lang.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, the AWS account ID of the repository owner, the
repository namespace, and then the repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.
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, the AWS account ID of the repository
owner, the repository namespace, and then the repository name. For
example,
arn:aws:ecr:region:012345678910:repository/test
.public java.lang.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, the AWS account ID of the repository owner, the
repository namespace, and then the repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.
arn:aws:ecr
namespace, followed
by the region of the repository, the AWS account ID of the
repository owner, the repository namespace, and then the
repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.public Repository withRepositoryArn(java.lang.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, the AWS account ID of the repository owner, the
repository namespace, and then the repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.
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, the AWS account ID of the repository
owner, the repository namespace, and then the repository name. For
example,
arn:aws:ecr:region:012345678910:repository/test
.public void setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the repository.
registryId
- The AWS account ID associated with the registry that contains the
repository.public java.lang.String getRegistryId()
The AWS account ID associated with the registry that contains the repository.
public Repository withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry that contains the repository.
registryId
- The AWS account ID associated with the registry that contains the
repository.public void setRepositoryName(java.lang.String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public java.lang.String getRepositoryName()
The name of the repository.
public Repository withRepositoryName(java.lang.String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public void setRepositoryUri(java.lang.String repositoryUri)
The URI for the repository. You can use this URI for Docker
push
and pull
operations.
repositoryUri
- The URI for the repository. You can use this URI for Docker
push
and pull
operations.public java.lang.String getRepositoryUri()
The URI for the repository. You can use this URI for Docker
push
and pull
operations.
push
and pull
operations.public Repository withRepositoryUri(java.lang.String repositoryUri)
The URI for the repository. You can use this URI for Docker
push
and pull
operations.
repositoryUri
- The URI for the repository. You can use this URI for Docker
push
and pull
operations.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Repository clone()
clone
in class java.lang.Object