Class EntitledRepository
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EntitledRepository.Builder,EntitledRepository>
An object that describes a premium repository that you're entitled to through an Amazon Web Services Marketplace purchase.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EntitledRepository.Builderbuilder()final StringThe ID of the Amazon Web Services Marketplace product that gives you access to the premium repository.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe registry alias of the publisher that owns the premium repository.final StringThe display name of the publisher's registry.final StringThe ARN of the premium repository.final StringThe name of the premium repository.final StringThe URI of the premium repository.static Class<? extends EntitledRepository.Builder> final RepositoryStatestate()The state of the premium repository.final StringThe state of the premium repository.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
registryAlias
The registry alias of the publisher that owns the premium repository.
- Returns:
- The registry alias of the publisher that owns the premium repository.
-
repositoryName
The name of the premium repository.
- Returns:
- The name of the premium repository.
-
repositoryArn
The ARN of the premium repository. This ARN doesn't contain an account ID. It has the format
arn:aws:ecr-public:::entitled-repository/registry-alias/repository-name.- Returns:
- The ARN of the premium repository. This ARN doesn't contain an account ID. It has the format
arn:aws:ecr-public:::entitled-repository/registry-alias/repository-name.
-
repositoryUri
The URI of the premium repository. Use this URI to pull images from the repository.
- Returns:
- The URI of the premium repository. Use this URI to pull images from the repository.
-
state
The state of the premium repository. Valid values:
-
AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it. -
HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRepositoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the premium repository. Valid values:
-
AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it. -
HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.
-
- See Also:
-
-
stateAsString
The state of the premium repository. Valid values:
-
AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it. -
HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRepositoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the premium repository. Valid values:
-
AVAILABLE: The repository is shown in the Amazon ECR Public Gallery, and you can pull from it. -
HIDDEN: The repository isn't shown in the Amazon ECR Public Gallery, but because you have an active entitlement, you can still pull from it.
-
- See Also:
-
-
entitledViaProductId
The ID of the Amazon Web Services Marketplace product that gives you access to the premium repository.
- Returns:
- The ID of the Amazon Web Services Marketplace product that gives you access to the premium repository.
-
registryDisplayName
The display name of the publisher's registry. This value can be empty.
- Returns:
- The display name of the publisher's registry. This value can be empty.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<EntitledRepository.Builder,EntitledRepository> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-