Class RegistryMapping
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RegistryMapping.Builder,RegistryMapping>
If you are using the ECR pull through cache feature, the registry mapping maps between the ECR repository and the upstream registry where container images are pulled and synchronized.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryMapping.Builderbuilder()final StringThe Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the credentials for the upstream registry.final StringAccount ID of the account that owns the upstream container image.final StringThe repository prefix to use in the ECR private 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()static Class<? extends RegistryMapping.Builder> 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.final StringThe URI of the upstream registry.final StringThe repository prefix of the corresponding repository in the upstream registry.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
upstreamRegistryUrl
The URI of the upstream registry.
- Returns:
- The URI of the upstream registry.
-
ecrRepositoryPrefix
The repository prefix to use in the ECR private repository.
- Returns:
- The repository prefix to use in the ECR private repository.
-
upstreamRepositoryPrefix
The repository prefix of the corresponding repository in the upstream registry.
- Returns:
- The repository prefix of the corresponding repository in the upstream registry.
-
ecrAccountId
Account ID of the account that owns the upstream container image.
- Returns:
- Account ID of the account that owns the upstream container image.
-
credentialArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the credentials for the upstream registry. You must specify this value when Amazon Elastic Container Registry (Amazon ECR) doesn't support pull through cache for the upstream registry. HealthOmics supports only some of these registries. The workflow role must have permission to call the
secretsmanager:GetSecretValueoperation on the secret. For more information about the supported registries, see Container images in the Amazon Web Services HealthOmics User Guide.- Returns:
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that holds the
credentials for the upstream registry. You must specify this value when Amazon Elastic Container Registry
(Amazon ECR) doesn't support pull through cache for the upstream registry. HealthOmics supports only some
of these registries. The workflow role must have permission to call the
secretsmanager:GetSecretValueoperation on the secret. For more information about the supported registries, see Container images in the Amazon Web Services HealthOmics User Guide.
-
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<RegistryMapping.Builder,RegistryMapping> - 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.
-