@Generated(value="software.amazon.awssdk:codegen") public final class Repository extends Object implements StructuredPojo, ToCopyableBuilder<Repository.Builder,Repository>
An object representing a repository.
Modifier and Type | Class and Description |
---|---|
static interface |
Repository.Builder |
Modifier and Type | Method and Description |
---|---|
static Repository.Builder |
builder() |
Instant |
createdAt()
The date and time, in JavaScript date format, when the repository was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
registryId()
The AWS account ID associated with the registry that contains the repository.
|
String |
repositoryArn()
The Amazon Resource Name (ARN) that identifies the repository.
|
String |
repositoryName()
The name of the repository.
|
String |
repositoryUri()
The URI for the repository.
|
static Class<? extends Repository.Builder> |
serializableBuilderClass() |
Repository.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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, AWS account ID of the repository owner, repository
namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test
.
arn:aws:ecr
namespace, followed by the region of the repository, AWS account ID of the
repository owner, repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.public String registryId()
The AWS account ID associated with the registry that contains the repository.
public String repositoryName()
The name of the repository.
public String repositoryUri()
The URI for the repository. You can use this URI for Docker push
or pull
operations.
push
or pull
operations.public Instant createdAt()
The date and time, in JavaScript date format, when the repository was created.
public Repository.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Repository.Builder,Repository>
public static Repository.Builder builder()
public static Class<? extends Repository.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.