Interface GetResourcePolicyResponse.Builder

  • Method Details

    • resourceArn

      GetResourcePolicyResponse.Builder resourceArn(String resourceArn)

      Amazon Resource Name (ARN) for the resource.

      Parameters:
      resourceArn - Amazon Resource Name (ARN) for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyType

      GetResourcePolicyResponse.Builder policyType(String policyType)

      The type of policy

      Parameters:
      policyType - The type of policy
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyType

      The type of policy

      Parameters:
      policyType - The type of policy
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyVersionArn

      GetResourcePolicyResponse.Builder policyVersionArn(String policyVersionArn)

      Amazon Resource Name (ARN) for the policy version.

      Parameters:
      policyVersionArn - Amazon Resource Name (ARN) for the policy version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyName

      GetResourcePolicyResponse.Builder policyName(String policyName)

      Name of the policy.

      Parameters:
      policyName - Name of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyDocument

      GetResourcePolicyResponse.Builder policyDocument(String policyDocument)

      Document that contains the contents for the policy.

      Parameters:
      policyDocument - Document that contains the contents for the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.