Class DeleteResourcePolicyStatementRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request
-
- software.amazon.awssdk.services.lexmodelsv2.model.DeleteResourcePolicyStatementRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteResourcePolicyStatementRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteResourcePolicyStatementRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteResourcePolicyStatementRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexpectedRevisionId()The identifier of the revision of the policy to delete the statement from.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceArn()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()StringstatementId()The name of the statement (SID) to delete from the policy.DeleteResourcePolicyStatementRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
- Returns:
- The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
-
statementId
public final String statementId()
The name of the statement (SID) to delete from the policy.
- Returns:
- The name of the statement (SID) to delete from the policy.
-
expectedRevisionId
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.
- Returns:
- 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.
-
toBuilder
public DeleteResourcePolicyStatementRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteResourcePolicyStatementRequest.Builder,DeleteResourcePolicyStatementRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static DeleteResourcePolicyStatementRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteResourcePolicyStatementRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-