Class UpdatePullThroughCacheRuleRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.ecr.model.EcrRequest
software.amazon.awssdk.services.ecr.model.UpdatePullThroughCacheRuleRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePullThroughCacheRuleRequest.Builder,UpdatePullThroughCacheRuleRequest>
@Generated("software.amazon.awssdk:codegen")
public final class UpdatePullThroughCacheRuleRequest
extends EcrRequest
implements ToCopyableBuilder<UpdatePullThroughCacheRuleRequest.Builder,UpdatePullThroughCacheRuleRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.final StringAmazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the ECR upstream registry.final StringThe repository name prefix to use when caching images from the source registry.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Web Services account ID associated with the registry associated with the pull through cache rule.static Class<? extends UpdatePullThroughCacheRuleRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
registryId
The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
- Returns:
- The Amazon Web Services account ID associated with the registry associated with the pull through cache rule. If you do not specify a registry, the default registry is assumed.
-
ecrRepositoryPrefix
The repository name prefix to use when caching images from the source registry.
- Returns:
- The repository name prefix to use when caching images from the source registry.
-
credentialArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
-
customRoleArn
Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the ECR upstream registry. This role must be in the same account as the registry that you are configuring.
- Returns:
- Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the ECR upstream registry. This role must be in the same account as the registry that you are configuring.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePullThroughCacheRuleRequest.Builder,UpdatePullThroughCacheRuleRequest> - Specified by:
toBuilderin classEcrRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-