Interface GetResourcePolicyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>, SdkBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>, SdkPojo, SdkResponse.Builder, SecretsManagerResponse.Builder
Enclosing class:
GetResourcePolicyResponse

  • Method Details

    • arn

      The ARN of the secret that the resource-based policy was retrieved for.

      Parameters:
      arn - The ARN of the secret that the resource-based policy was retrieved for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the secret that the resource-based policy was retrieved for.

      Parameters:
      name - The name of the secret that the resource-based policy was retrieved for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourcePolicy

      GetResourcePolicyResponse.Builder resourcePolicy(String resourcePolicy)

      A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see Authentication and access control for Secrets Manager.

      Parameters:
      resourcePolicy - A JSON-formatted string that contains the permissions policy attached to the secret. For more information about permissions policies, see Authentication and access control for Secrets Manager.
      Returns:
      Returns a reference to this object so that method calls can be chained together.