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 friendly name of the secret that the resource-based policy was retrieved for.
|
GetResourcePolicyResponse.Builder |
resourcePolicy(String resourcePolicy)
A JSON-formatted string that describes the permissions that are associated with the attached secret.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetResourcePolicyResponse.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 friendly name of the secret that the resource-based policy was retrieved for.
name
- The friendly name of the secret that the resource-based policy was retrieved for.GetResourcePolicyResponse.Builder resourcePolicy(String resourcePolicy)
A JSON-formatted string that describes the permissions that are associated with the attached secret. These permissions are combined with any permissions that are associated with the user or role that attempts to access this secret. The combined permissions specify who can access the secret and what actions they can perform. For more information, see Authentication and Access Control for AWS Secrets Manager in the AWS Secrets Manager User Guide.
resourcePolicy
- A JSON-formatted string that describes the permissions that are associated with the attached secret.
These permissions are combined with any permissions that are associated with the user or role that
attempts to access this secret. The combined permissions specify who can access the secret and what
actions they can perform. For more information, see Authentication
and Access Control for AWS Secrets Manager in the AWS Secrets Manager User Guide.Copyright © 2020. All rights reserved.