Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkPojo
,SdkResponse.Builder
,SecretsManagerResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
public static interface GetResourcePolicyResponse.Builder
extends SecretsManagerResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the secret that the resource-based policy was retrieved for.The name of the secret that the resource-based policy was retrieved for.resourcePolicy
(String resourcePolicy) A JSON-formatted string that contains the permissions policy attached to the secret.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.secretsmanager.model.SecretsManagerResponse.Builder
build, responseMetadata, responseMetadata
-
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
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.
-