Class GetMigrationsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest
-
- software.amazon.awssdk.services.lexmodelbuilding.model.GetMigrationsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMigrationsRequest.Builder,GetMigrationsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetMigrationsRequest extends LexModelBuildingRequest implements ToCopyableBuilder<GetMigrationsRequest.Builder,GetMigrationsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMigrationsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMigrationsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of migrations to return in the response.MigrationStatusmigrationStatusEquals()Filters the list to contain only migrations in the specified state.StringmigrationStatusEqualsAsString()Filters the list to contain only migrations in the specified state.StringnextToken()A pagination token that fetches the next page of migrations.List<SdkField<?>>sdkFields()static Class<? extends GetMigrationsRequest.Builder>serializableBuilderClass()MigrationSortAttributesortByAttribute()The field to sort the list of migrations by.StringsortByAttributeAsString()The field to sort the list of migrations by.SortOrdersortByOrder()The order so sort the list.StringsortByOrderAsString()The order so sort the list.GetMigrationsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringv1BotNameContains()Filters the list to contain only bots whose name contains the specified string.-
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
-
sortByAttribute
public final MigrationSortAttribute sortByAttribute()
The field to sort the list of migrations by. You can sort by the Amazon Lex V1 bot name or the date and time that the migration was started.
If the service returns an enum value that is not available in the current SDK version,
sortByAttributewill returnMigrationSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAttributeAsString().- Returns:
- The field to sort the list of migrations by. You can sort by the Amazon Lex V1 bot name or the date and time that the migration was started.
- See Also:
MigrationSortAttribute
-
sortByAttributeAsString
public final String sortByAttributeAsString()
The field to sort the list of migrations by. You can sort by the Amazon Lex V1 bot name or the date and time that the migration was started.
If the service returns an enum value that is not available in the current SDK version,
sortByAttributewill returnMigrationSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAttributeAsString().- Returns:
- The field to sort the list of migrations by. You can sort by the Amazon Lex V1 bot name or the date and time that the migration was started.
- See Also:
MigrationSortAttribute
-
sortByOrder
public final SortOrder sortByOrder()
The order so sort the list.
If the service returns an enum value that is not available in the current SDK version,
sortByOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByOrderAsString().- Returns:
- The order so sort the list.
- See Also:
SortOrder
-
sortByOrderAsString
public final String sortByOrderAsString()
The order so sort the list.
If the service returns an enum value that is not available in the current SDK version,
sortByOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByOrderAsString().- Returns:
- The order so sort the list.
- See Also:
SortOrder
-
v1BotNameContains
public final String v1BotNameContains()
Filters the list to contain only bots whose name contains the specified string. The string is matched anywhere in bot name.
- Returns:
- Filters the list to contain only bots whose name contains the specified string. The string is matched anywhere in bot name.
-
migrationStatusEquals
public final MigrationStatus migrationStatusEquals()
Filters the list to contain only migrations in the specified state.
If the service returns an enum value that is not available in the current SDK version,
migrationStatusEqualswill returnMigrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationStatusEqualsAsString().- Returns:
- Filters the list to contain only migrations in the specified state.
- See Also:
MigrationStatus
-
migrationStatusEqualsAsString
public final String migrationStatusEqualsAsString()
Filters the list to contain only migrations in the specified state.
If the service returns an enum value that is not available in the current SDK version,
migrationStatusEqualswill returnMigrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommigrationStatusEqualsAsString().- Returns:
- Filters the list to contain only migrations in the specified state.
- See Also:
MigrationStatus
-
maxResults
public final Integer maxResults()
The maximum number of migrations to return in the response. The default is 10.
- Returns:
- The maximum number of migrations to return in the response. The default is 10.
-
nextToken
public final String nextToken()
A pagination token that fetches the next page of migrations. If the response to this operation is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of migrations, specify the pagination token in the request.
- Returns:
- A pagination token that fetches the next page of migrations. If the response to this operation is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of migrations, specify the pagination token in the request.
-
toBuilder
public GetMigrationsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMigrationsRequest.Builder,GetMigrationsRequest>- Specified by:
toBuilderin classLexModelBuildingRequest
-
builder
public static GetMigrationsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMigrationsRequest.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
-
-