Interface UpdatePullThroughCacheRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePullThroughCacheRuleRequest.Builder,UpdatePullThroughCacheRuleRequest>,EcrRequest.Builder,SdkBuilder<UpdatePullThroughCacheRuleRequest.Builder,UpdatePullThroughCacheRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePullThroughCacheRuleRequest
public static interface UpdatePullThroughCacheRuleRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<UpdatePullThroughCacheRuleRequest.Builder,UpdatePullThroughCacheRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePullThroughCacheRuleRequest.BuildercredentialArn(String credentialArn)The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.UpdatePullThroughCacheRuleRequest.BuildercustomRoleArn(String customRoleArn)Amazon Resource Name (ARN) of the IAM role to be assumed by Amazon ECR to authenticate to the ECR upstream registry.UpdatePullThroughCacheRuleRequest.BuilderecrRepositoryPrefix(String ecrRepositoryPrefix)The repository name prefix to use when caching images from the source registry.UpdatePullThroughCacheRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePullThroughCacheRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePullThroughCacheRuleRequest.BuilderregistryId(String registryId)The Amazon Web Services account ID associated with the registry associated with the pull through cache rule.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
registryId
UpdatePullThroughCacheRuleRequest.Builder registryId(String 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
ecrRepositoryPrefix
UpdatePullThroughCacheRuleRequest.Builder ecrRepositoryPrefix(String ecrRepositoryPrefix)
The repository name prefix to use when caching images from the source registry.
- Parameters:
ecrRepositoryPrefix- The repository name prefix to use when caching images from the source registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialArn
UpdatePullThroughCacheRuleRequest.Builder credentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that identifies the credentials to authenticate to the upstream registry.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
customRoleArn
UpdatePullThroughCacheRuleRequest.Builder customRoleArn(String 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePullThroughCacheRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePullThroughCacheRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-