Interface PutResourcePolicyRequest.Builder

  • Method Details

    • resourceArn

      PutResourcePolicyRequest.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the web function.

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

      The JSON-formatted resource-based policy to attach to the web function.

      Parameters:
      policy - The JSON-formatted resource-based policy to attach to the web function.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • revisionId

      PutResourcePolicyRequest.Builder revisionId(String revisionId)

      The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.

      Parameters:
      revisionId - The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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