Interface PutResourcePolicyRequest.Builder

    • Method Detail

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