Class ListBotVersionsRequest
- 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.ListBotVersionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListBotVersionsRequest.Builder,ListBotVersionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListBotVersionsRequest extends LexModelsV2Request implements ToCopyableBuilder<ListBotVersionsRequest.Builder,ListBotVersionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListBotVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The identifier of the bot to list versions for.static ListBotVersionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of versions to return in each page of results.StringnextToken()If the response to theListBotVersionoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.List<SdkField<?>>sdkFields()static Class<? extends ListBotVersionsRequest.Builder>serializableBuilderClass()BotVersionSortBysortBy()Specifies sorting parameters for the list of versions.ListBotVersionsRequest.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
-
botId
public final String botId()
The identifier of the bot to list versions for.
- Returns:
- The identifier of the bot to list versions for.
-
sortBy
public final BotVersionSortBy sortBy()
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
- Returns:
- Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
-
maxResults
public final Integer maxResults()
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
- Returns:
- The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
-
nextToken
public final String nextToken()
If the response to the
ListBotVersionoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Returns:
- If the response to the
ListBotVersionoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.
-
toBuilder
public ListBotVersionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListBotVersionsRequest.Builder,ListBotVersionsRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static ListBotVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListBotVersionsRequest.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
-
-