@Generated(value="software.amazon.awssdk:codegen") public final class DeleteResourcePolicyStatementRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteResourcePolicyStatementRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteResourcePolicyStatementRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
expectedRevisionId()
The identifier of the revision of the policy to delete the statement from.
|
<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 is attached to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteResourcePolicyStatementRequest.Builder> |
serializableBuilderClass() |
String |
statementId()
The name of the statement (SID) to delete from the policy.
|
DeleteResourcePolicyStatementRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, 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 is attached to.
public final String statementId()
The name of the statement (SID) to delete from the policy.
public final String expectedRevisionId()
The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
If you don't specify a revision, Amazon Lex removes the current contents of the statement.
public DeleteResourcePolicyStatementRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>toBuilder in class LexModelsV2Requestpublic static DeleteResourcePolicyStatementRequest.Builder builder()
public static Class<? extends DeleteResourcePolicyStatementRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2022. All rights reserved.