Interface ValidatePullThroughCacheRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ValidatePullThroughCacheRuleResponse.Builder,
,ValidatePullThroughCacheRuleResponse> EcrResponse.Builder
,SdkBuilder<ValidatePullThroughCacheRuleResponse.Builder,
,ValidatePullThroughCacheRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ValidatePullThroughCacheRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptioncredentialArn
(String credentialArn) The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.ecrRepositoryPrefix
(String ecrRepositoryPrefix) The Amazon ECR repository prefix associated with the pull through cache rule.The reason the validation failed.Whether or not the pull through cache rule was validated.registryId
(String registryId) The registry ID associated with the request.upstreamRegistryUrl
(String upstreamRegistryUrl) The upstream registry URL associated with the pull through cache rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ecrRepositoryPrefix
The Amazon ECR repository prefix associated with the pull through cache rule.
- Parameters:
ecrRepositoryPrefix
- The Amazon ECR repository prefix associated with the pull through cache rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registryId
The registry ID associated with the request.
- Parameters:
registryId
- The registry ID associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upstreamRegistryUrl
The upstream registry URL associated with the pull through cache rule.
- Parameters:
upstreamRegistryUrl
- The upstream registry URL associated with the pull through cache rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
- Parameters:
credentialArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isValid
Whether or not the pull through cache rule was validated. If
true
, Amazon ECR was able to reach the upstream registry and authentication was successful. Iffalse
, there was an issue and validation failed. Thefailure
reason indicates the cause.- Parameters:
isValid
- Whether or not the pull through cache rule was validated. Iftrue
, Amazon ECR was able to reach the upstream registry and authentication was successful. Iffalse
, there was an issue and validation failed. Thefailure
reason indicates the cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failure
The reason the validation failed. For more details about possible causes and how to address them, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.
- Parameters:
failure
- The reason the validation failed. For more details about possible causes and how to address them, see Using pull through cache rules in the Amazon Elastic Container Registry User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-