Interface UpdatePullThroughCacheRuleRequest.Builder

  • Method Details

    • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.