Class ValidatePullThroughCacheRuleResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ValidatePullThroughCacheRuleResponse.Builder,ValidatePullThroughCacheRuleResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.final StringThe ARN of the IAM role associated with the pull through cache rule.final StringThe Amazon ECR repository prefix associated with the pull through cache rule.final booleanfinal booleanequalsBySdkFields(Object obj) final Stringfailure()The reason the validation failed.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanisValid()Whether or not the pull through cache rule was validated.final StringThe registry ID associated with the request.static Class<? extends ValidatePullThroughCacheRuleResponse.Builder>final StringtoString()Returns a string representation of this object.final StringThe upstream registry URL associated with the pull through cache rule.final StringThe upstream repository prefix associated with the pull through cache rule.Methods inherited from class software.amazon.awssdk.services.ecr.model.EcrResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods 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
-
ecrRepositoryPrefix
The Amazon ECR repository prefix associated with the pull through cache rule.
- Returns:
- The Amazon ECR repository prefix associated with the pull through cache rule.
-
registryId
The registry ID associated with the request.
- Returns:
- The registry ID associated with the request.
-
upstreamRegistryUrl
The upstream registry URL associated with the pull through cache rule.
- Returns:
- The upstream registry URL associated with the pull through cache rule.
-
credentialArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
-
customRoleArn
The ARN of the IAM role associated with the pull through cache rule.
- Returns:
- The ARN of the IAM role associated with the pull through cache rule.
-
upstreamRepositoryPrefix
The upstream repository prefix associated with the pull through cache rule.
- Returns:
- The upstream repository prefix associated with the pull through cache rule.
-
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. Thefailurereason indicates the cause.- Returns:
- 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. Thefailurereason indicates the cause.
-
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:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ValidatePullThroughCacheRuleResponse.Builder,ValidatePullThroughCacheRuleResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
public static Class<? extends ValidatePullThroughCacheRuleResponse.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-