Interface PutImagePolicyRequest.Builder

  • Method Details

    • imageArn

      The Amazon Resource Name (ARN) of the image that this policy should be applied to.

      Parameters:
      imageArn - The Amazon Resource Name (ARN) of the image that this policy should be applied to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The resource policy to apply to the image, as a JSON policy document. Image Builder validates the policy with Amazon Web Services RAM before applying it, and rejects invalid policies with InvalidParameterValueException.

      Parameters:
      policy - The resource policy to apply to the image, as a JSON policy document. Image Builder validates the policy with Amazon Web Services RAM before applying it, and rejects invalid policies with InvalidParameterValueException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      PutImagePolicyRequest.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.