public static interface GetResourcePolicyResponse.Builder extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetResourcePolicyResponse.Builder |
arn(String arn)
The ARN of the secret that the resource-based policy was retrieved for.
|
GetResourcePolicyResponse.Builder |
name(String name)
The name of the secret that the resource-based policy was retrieved for.
|
GetResourcePolicyResponse.Builder |
resourcePolicy(String resourcePolicy)
A JSON-formatted string that contains the permissions policy attached to the secret.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetResourcePolicyResponse.Builder arn(String arn)
The ARN of the secret that the resource-based policy was retrieved for.
arn - The ARN of the secret that the resource-based policy was retrieved for.GetResourcePolicyResponse.Builder name(String name)
The name of the secret that the resource-based policy was retrieved for.
name - The name of the secret that the resource-based policy was retrieved for.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.
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.Copyright © 2023. All rights reserved.