public class Repository extends Object implements Serializable, Cloneable
Object representing a repository.
Constructor and Description |
---|
Repository() |
Modifier and Type | Method and Description |
---|---|
Repository |
clone() |
boolean |
equals(Object obj) |
String |
getRegistryId()
The AWS 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 |
setRegistryId(String registryId)
The AWS 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; useful for testing and
debugging.
|
Repository |
withRegistryId(String registryId)
The AWS 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, 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 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(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(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 String getRegistryId()
The AWS account ID associated with the registry that contains the repository.
public Repository withRegistryId(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(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 Docker
push
and pull
operations.
repositoryUri
- The URI for the repository. You can use this URI for Docker
push
and pull
operations.public 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(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 String toString()
toString
in class Object
Object.toString()
public Repository clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.