@Generated(value="software.amazon.awssdk:codegen") public final class CreateResourcePolicyResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateResourcePolicyResponse.Builder,CreateResourcePolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateResourcePolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateResourcePolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
|
String |
revisionId()
The current revision of the resource policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateResourcePolicyResponse.Builder> |
serializableBuilderClass() |
CreateResourcePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.
public final String revisionId()
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
public CreateResourcePolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateResourcePolicyResponse.Builder,CreateResourcePolicyResponse>toBuilder in class AwsResponsepublic static CreateResourcePolicyResponse.Builder builder()
public static Class<? extends CreateResourcePolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.