Class Repository
- java.lang.Object
-
- software.amazon.awssdk.services.ecrpublic.model.Repository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Repository.Builder,Repository>
@Generated("software.amazon.awssdk:codegen") public final class Repository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Repository.Builder,Repository>
An object representing a repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Repository.Builderbuilder()InstantcreatedAt()The date and time, in JavaScript date format, when the repository was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringregistryId()The Amazon Web Services account ID that's associated with the public registry that contains the repository.StringrepositoryArn()The Amazon Resource Name (ARN) that identifies the repository.StringrepositoryName()The name of the repository.StringrepositoryUri()The URI for the repository.List<SdkField<?>>sdkFields()static Class<? extends Repository.Builder>serializableBuilderClass()Repository.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
repositoryArn
public final String repositoryArn()
The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the
arn:aws:ecrnamespace, 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.- Returns:
- The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the
arn:aws:ecrnamespace, 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.
-
registryId
public final String registryId()
The Amazon Web Services account ID that's associated with the public registry that contains the repository.
- Returns:
- The Amazon Web Services account ID that's associated with the public registry that contains the repository.
-
repositoryName
public final String repositoryName()
The name of the repository.
- Returns:
- The name of the repository.
-
repositoryUri
public final String repositoryUri()
The URI for the repository. You can use this URI for container image
pushandpulloperations.- Returns:
- The URI for the repository. You can use this URI for container image
pushandpulloperations.
-
createdAt
public final Instant createdAt()
The date and time, in JavaScript date format, when the repository was created.
- Returns:
- The date and time, in JavaScript date format, when the repository was created.
-
toBuilder
public Repository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Repository.Builder,Repository>
-
builder
public static Repository.Builder builder()
-
serializableBuilderClass
public static Class<? extends Repository.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-