Interface GetGroupPolicyResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetGroupPolicyResponse.Builder,,- GetGroupPolicyResponse> - IamResponse.Builder,- SdkBuilder<GetGroupPolicyResponse.Builder,,- GetGroupPolicyResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetGroupPolicyResponse
@Mutable
@NotThreadSafe
public static interface GetGroupPolicyResponse.Builder
extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetGroupPolicyResponse.Builder,GetGroupPolicyResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe group the policy is associated with.policyDocument(String policyDocument) The policy document.policyName(String policyName) The name of the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
groupNameThe group the policy is associated with. - Parameters:
- groupName- The group the policy is associated with.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyNameThe name of the policy. - Parameters:
- policyName- The name of the policy.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policyDocumentThe policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. - Parameters:
- policyDocument- The policy document.- IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-