@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() |
ImageTagMutability |
imageTagMutability()
The tag mutability setting for the repository.
|
String |
imageTagMutabilityAsString()
The tag mutability setting for the repository.
|
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.
|
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, wait
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 ImageTagMutability imageTagMutability()
The tag mutability setting for the repository.
If the service returns an enum value that is not available in the current SDK version,
imageTagMutability
will return ImageTagMutability.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from imageTagMutabilityAsString()
.
ImageTagMutability
public String imageTagMutabilityAsString()
The tag mutability setting for the repository.
If the service returns an enum value that is not available in the current SDK version,
imageTagMutability
will return ImageTagMutability.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from imageTagMutabilityAsString()
.
ImageTagMutability
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 SdkPojo
public String toString()
Copyright © 2019. All rights reserved.