@Generated(value="software.amazon.awssdk:codegen") public final class Repository extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
registryId()
The AWS account ID associated with the public 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Repository.Builder> |
serializableBuilderClass() |
Repository.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 public 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 container image push and pull
operations.
push and
pull operations.public Instant createdAt()
The date and time, in JavaScript date format, when the repository was created.
public Repository.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Repository.Builder,Repository>public static Repository.Builder builder()
public static Class<? extends Repository.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.