Interface UpdatePullThroughCacheRuleRequest.Builder

    • Method Detail

      • registryId

        UpdatePullThroughCacheRuleRequest.Builder registryId​(String 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.