ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
@Generated("software.amazon.awssdk:codegen") public class GetPolicyResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetPolicyResponse.Builder,GetPolicyResponse>
Contains the response to a successful GetPolicy request.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetPolicyResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetPolicyResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Policy |
policy() |
A structure containing details about the policy.
|
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 Policy policy()
A structure containing details about the policy.
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.