ToCopyableBuilder<GetRolePolicyResponse.Builder,GetRolePolicyResponse>
@Generated("software.amazon.awssdk:codegen") public class GetRolePolicyResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<GetRolePolicyResponse.Builder,GetRolePolicyResponse>
Contains the response to a successful GetRolePolicy request.
Modifier and Type | Class | Description |
---|---|---|
static interface |
GetRolePolicyResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static GetRolePolicyResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
policyDocument() |
The policy document.
|
String |
policyName() |
The name of the policy.
|
String |
roleName() |
The role the policy is associated with.
|
static Class<? extends GetRolePolicyResponse.Builder> |
serializableBuilderClass() |
|
GetRolePolicyResponse.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 roleName()
The role the policy is associated with.
public String policyName()
The name of the policy.
public String policyDocument()
The policy document.
public GetRolePolicyResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetRolePolicyResponse.Builder,GetRolePolicyResponse>
public static GetRolePolicyResponse.Builder builder()
public static Class<? extends GetRolePolicyResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.