Interface GetResourcePolicyResponse.Builder

  • Method Details

    • resourceArn

      GetResourcePolicyResponse.Builder resourceArn(String resourceArn)

      The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.

      Parameters:
      resourceArn - The Amazon Resource Name (ARN) of the AWS End User Messaging SMS and Voice resource attached to the resource-based policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policy

      The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.

      Parameters:
      policy - The JSON formatted string that contains the resource-based policy attached to the AWS End User Messaging SMS and Voice resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      GetResourcePolicyResponse.Builder createdTimestamp(Instant createdTimestamp)

      The time when the resource-based policy was created, in UNIX epoch time format.

      Parameters:
      createdTimestamp - The time when the resource-based policy was created, in UNIX epoch time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.