ToCopyableBuilder<GetUserPolicyResponse.Builder,GetUserPolicyResponse>
@Generated("software.amazon.awssdk:codegen") public class GetUserPolicyResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetUserPolicyResponse.Builder,GetUserPolicyResponse>
Contains the response to a successful GetUserPolicy request.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetUserPolicyResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetUserPolicyResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
policyDocument() |
The policy document.
|
String |
policyName() |
The name of the policy.
|
static Class<? extends GetUserPolicyResponse.Builder> |
serializableBuilderClass() |
|
GetUserPolicyResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userName() |
The user the policy is associated with.
|
setSdkHttpMetadata, setSdkResponseMetadata
public String userName()
The user the policy is associated with.
public String policyName()
The name of the policy.
public String policyDocument()
The policy document.
public GetUserPolicyResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetUserPolicyResponse.Builder,GetUserPolicyResponse>
public static GetUserPolicyResponse.Builder builder()
public static Class<? extends GetUserPolicyResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.