Class PutResourcePolicyRequest

    • Method Detail

      • resourceArn

        public final String resourceArn()

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

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

        public final String resourcePolicy()

        The JSON-formatted resource policy to create.

        Returns:
        The JSON-formatted resource policy to create.
      • policyRevisionId

        public final String policyRevisionId()

        A unique identifier for a revision of the resource policy.

        Returns:
        A unique identifier for a revision of the resource policy.
      • clientToken

        public final String clientToken()

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

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

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object