@Generated(value="software.amazon.awssdk:codegen") public final class GetGroupPolicyResponse extends IamResponse implements ToCopyableBuilder<GetGroupPolicyResponse.Builder,GetGroupPolicyResponse>
Contains the response to a successful GetGroupPolicy request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetGroupPolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetGroupPolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupName()
The group the policy is associated with.
|
int |
hashCode() |
String |
policyDocument()
The policy document.
|
String |
policyName()
The name of the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetGroupPolicyResponse.Builder> |
serializableBuilderClass() |
GetGroupPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String groupName()
The group the policy is associated with.
public String policyName()
The name of the policy.
public String policyDocument()
The policy document.
IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
IAM stores policies in JSON format. However, resources that were created using AWS CloudFormation templates can be formatted in YAML. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
public GetGroupPolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetGroupPolicyResponse.Builder,GetGroupPolicyResponse>toBuilder in class AwsResponsepublic static GetGroupPolicyResponse.Builder builder()
public static Class<? extends GetGroupPolicyResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.