Interface GetResourcePolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> MpaResponse.Builder
,SdkBuilder<GetResourcePolicyResponse.Builder,
,GetResourcePolicyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetResourcePolicyResponse
@Mutable
@NotThreadSafe
public static interface GetResourcePolicyResponse.Builder
extends MpaResponse.Builder, SdkPojo, CopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDocument
(String policyDocument) Document that contains the contents for the policy.policyName
(String policyName) Name of the policy.policyType
(String policyType) The type of policypolicyType
(PolicyType policyType) The type of policypolicyVersionArn
(String policyVersionArn) Amazon Resource Name (ARN) for the policy version.resourceArn
(String resourceArn) Amazon Resource Name (ARN) for the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mpa.model.MpaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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.
-