Class DeleteBotAliasRequest
- 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.DeleteBotAliasRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteBotAliasRequest.Builder,DeleteBotAliasRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteBotAliasRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteBotAliasRequest.Builder,DeleteBotAliasRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteBotAliasRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotAliasId()The unique identifier of the bot alias to delete.StringbotId()The unique identifier of the bot associated with the alias to delete.static DeleteBotAliasRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteBotAliasRequest.Builder>serializableBuilderClass()BooleanskipResourceInUseCheck()By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws aResourceInUseExceptionexception if the alias is being used by another resource.DeleteBotAliasRequest.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
-
botAliasId
public final String botAliasId()
The unique identifier of the bot alias to delete.
- Returns:
- The unique identifier of the bot alias to delete.
-
botId
public final String botId()
The unique identifier of the bot associated with the alias to delete.
- Returns:
- The unique identifier of the bot associated with the alias to delete.
-
skipResourceInUseCheck
public final Boolean skipResourceInUseCheck()
By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a
ResourceInUseExceptionexception if the alias is being used by another resource. Set this parameter totrueto skip this check and remove the alias even if it is being used by another resource.- Returns:
- By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before
it is deleted and throws a
ResourceInUseExceptionexception if the alias is being used by another resource. Set this parameter totrueto skip this check and remove the alias even if it is being used by another resource.
-
toBuilder
public DeleteBotAliasRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteBotAliasRequest.Builder,DeleteBotAliasRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static DeleteBotAliasRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteBotAliasRequest.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
-
-