ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
@Generated("software.amazon.awssdk:codegen") public class GetPolicyResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
The output from the GetPolicy operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetPolicyResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetPolicyResponse.Builder |
builder() |
|
String |
defaultVersionId() |
The default policy version ID.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
policyArn() |
The policy ARN.
|
String |
policyDocument() |
The JSON document that describes the policy.
|
String |
policyName() |
The policy name.
|
static Class<? extends GetPolicyResponse.Builder> |
serializableBuilderClass() |
|
GetPolicyResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String policyName()
The policy name.
public String policyArn()
The policy ARN.
public String policyDocument()
The JSON document that describes the policy.
public String defaultVersionId()
The default policy version ID.
public GetPolicyResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
public static GetPolicyResponse.Builder builder()
public static Class<? extends GetPolicyResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.