StructuredPojo
, ToCopyableBuilder<Repository.Builder,Repository>
@Generated("software.amazon.awssdk:codegen") public class Repository extends Object implements StructuredPojo, ToCopyableBuilder<Repository.Builder,Repository>
An object representing a repository.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Repository.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Repository.Builder |
builder() |
|
Date |
createdAt() |
The date and time, in JavaScript date/time format, when the repository was created.
|
boolean |
equals(Object obj) |
|
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() |
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, 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 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
and pull
operations.
push
and pull
operations.public Date createdAt()
The date and time, in JavaScript date/time 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.