ToCopyableBuilder<CreatePolicyResponse.Builder,CreatePolicyResponse>
@Generated("software.amazon.awssdk:codegen") public class CreatePolicyResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<CreatePolicyResponse.Builder,CreatePolicyResponse>
The output from the CreatePolicy operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreatePolicyResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CreatePolicyResponse.Builder |
builder() |
|
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.
|
String |
policyVersionId() |
The policy version ID.
|
static Class<? extends CreatePolicyResponse.Builder> |
serializableBuilderClass() |
|
CreatePolicyResponse.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 policyVersionId()
The policy version ID.
public CreatePolicyResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreatePolicyResponse.Builder,CreatePolicyResponse>
public static CreatePolicyResponse.Builder builder()
public static Class<? extends CreatePolicyResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.