Interface ValidatePullThroughCacheRuleResponse.Builder

  • Method Details

    • ecrRepositoryPrefix

      ValidatePullThroughCacheRuleResponse.Builder ecrRepositoryPrefix(String 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

      ValidatePullThroughCacheRuleResponse.Builder upstreamRegistryUrl(String 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. If false, there was an issue and validation failed. The failure reason indicates the cause.

      Parameters:
      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.
      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.