@Generated(value="software.amazon.awssdk:codegen") public final class CreatePolicyResponse extends IotResponse implements ToCopyableBuilder<CreatePolicyResponse.Builder,CreatePolicyResponse>
The output from the CreatePolicy operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreatePolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreatePolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePolicyResponse.Builder> |
serializableBuilderClass() |
CreatePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<CreatePolicyResponse.Builder,CreatePolicyResponse>toBuilder in class AwsResponsepublic static CreatePolicyResponse.Builder builder()
public static Class<? extends CreatePolicyResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.