Interface PutResourcePolicyRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>, LookoutEquipmentRequest.Builder, SdkBuilder<PutResourcePolicyRequest.Builder,PutResourcePolicyRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
PutResourcePolicyRequest

  • Method Details

    • resourceArn

      PutResourcePolicyRequest.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the resource for which the policy is being created.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the resource for which the policy is being created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourcePolicy

      PutResourcePolicyRequest.Builder resourcePolicy(String resourcePolicy)

      The JSON-formatted resource policy to create.

      Parameters:
      resourcePolicy - The JSON-formatted resource policy to create.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyRevisionId

      PutResourcePolicyRequest.Builder policyRevisionId(String policyRevisionId)

      A unique identifier for a revision of the resource policy.

      Parameters:
      policyRevisionId - A unique identifier for a revision of the resource policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      PutResourcePolicyRequest.Builder clientToken(String clientToken)

      A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

      Parameters:
      clientToken - A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
      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.