@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.
|
EncryptionConfiguration |
encryptionConfiguration()
The encryption configuration for the repository.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImageScanningConfiguration |
imageScanningConfiguration()
Returns the value of the ImageScanningConfiguration property for this object.
|
ImageTagMutability |
imageTagMutability()
The tag mutability setting for the repository.
|
String |
imageTagMutabilityAsString()
The tag mutability setting for the repository.
|
String |
registryId()
The Amazon Web Services 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 final 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, Amazon Web Services 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, Amazon Web Services account
ID of the repository owner, repository namespace, and repository name. For example,
arn:aws:ecr:region:012345678910:repository/test
.public final String registryId()
The Amazon Web Services account ID associated with the registry that contains the repository.
public final String repositoryName()
The name of the repository.
public final String repositoryUri()
The URI for the repository. You can use this URI for container image push
and pull
operations.
push
and
pull
operations.public final Instant createdAt()
The date and time, in JavaScript date format, when the repository was created.
public final 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 final 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 final ImageScanningConfiguration imageScanningConfiguration()
public final EncryptionConfiguration encryptionConfiguration()
The encryption configuration for the repository. This determines how the contents of your repository are encrypted at rest.
public Repository.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Repository.Builder,Repository>
public static Repository.Builder builder()
public static Class<? extends Repository.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.