@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ValidatePullThroughCacheRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ValidatePullThroughCacheRuleResult() |
Modifier and Type | Method and Description |
---|---|
ValidatePullThroughCacheRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getCredentialArn()
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through
cache rule.
|
String |
getEcrRepositoryPrefix()
The Amazon ECR repository prefix associated with the pull through cache rule.
|
String |
getFailure()
The reason the validation failed.
|
Boolean |
getIsValid()
Whether or not the pull through cache rule was validated.
|
String |
getRegistryId()
The registry ID associated with the request.
|
String |
getUpstreamRegistryUrl()
The upstream registry URL associated with the pull through cache rule.
|
int |
hashCode() |
Boolean |
isValid()
Whether or not the pull through cache rule was validated.
|
void |
setCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through
cache rule.
|
void |
setEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
|
void |
setFailure(String failure)
The reason the validation failed.
|
void |
setIsValid(Boolean isValid)
Whether or not the pull through cache rule was validated.
|
void |
setRegistryId(String registryId)
The registry ID associated with the request.
|
void |
setUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
|
String |
toString()
Returns a string representation of this object.
|
ValidatePullThroughCacheRuleResult |
withCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through
cache rule.
|
ValidatePullThroughCacheRuleResult |
withEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
|
ValidatePullThroughCacheRuleResult |
withFailure(String failure)
The reason the validation failed.
|
ValidatePullThroughCacheRuleResult |
withIsValid(Boolean isValid)
Whether or not the pull through cache rule was validated.
|
ValidatePullThroughCacheRuleResult |
withRegistryId(String registryId)
The registry ID associated with the request.
|
ValidatePullThroughCacheRuleResult |
withUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
ecrRepositoryPrefix
- The Amazon ECR repository prefix associated with the pull through cache rule.public String getEcrRepositoryPrefix()
The Amazon ECR repository prefix associated with the pull through cache rule.
public ValidatePullThroughCacheRuleResult withEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
ecrRepositoryPrefix
- The Amazon ECR repository prefix associated with the pull through cache rule.public void setRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public String getRegistryId()
The registry ID associated with the request.
public ValidatePullThroughCacheRuleResult withRegistryId(String registryId)
The registry ID associated with the request.
registryId
- The registry ID associated with the request.public void setUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
upstreamRegistryUrl
- The upstream registry URL associated with the pull through cache rule.public String getUpstreamRegistryUrl()
The upstream registry URL associated with the pull through cache rule.
public ValidatePullThroughCacheRuleResult withUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
upstreamRegistryUrl
- The upstream registry URL associated with the pull through cache rule.public void setCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret 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.public String getCredentialArn()
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret associated with the pull through cache rule.
public ValidatePullThroughCacheRuleResult withCredentialArn(String credentialArn)
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret 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.public void setIsValid(Boolean 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. If false
, there was an issue and validation
failed. The failure
reason indicates the cause.
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. If false
, there was an issue
and validation failed. The failure
reason indicates the cause.public Boolean getIsValid()
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. If false
, there was an issue and validation
failed. The failure
reason indicates the cause.
true
, Amazon ECR was able to
reach the upstream registry and authentication was successful. If false
, there was an issue
and validation failed. The failure
reason indicates the cause.public ValidatePullThroughCacheRuleResult withIsValid(Boolean 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. If false
, there was an issue and validation
failed. The failure
reason indicates the cause.
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. If false
, there was an issue
and validation failed. The failure
reason indicates the cause.public Boolean 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. If false
, there was an issue and validation
failed. The failure
reason indicates the cause.
true
, Amazon ECR was able to
reach the upstream registry and authentication was successful. If false
, there was an issue
and validation failed. The failure
reason indicates the cause.public void setFailure(String 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.
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.public String getFailure()
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.
public ValidatePullThroughCacheRuleResult withFailure(String 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.
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.public String toString()
toString
in class Object
Object.toString()
public ValidatePullThroughCacheRuleResult clone()