Class ListLanguageModelsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.transcribe.model.TranscribeRequest
-
- software.amazon.awssdk.services.transcribe.model.ListLanguageModelsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListLanguageModelsRequest.Builder,ListLanguageModelsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListLanguageModelsRequest extends TranscribeRequest implements ToCopyableBuilder<ListLanguageModelsRequest.Builder,ListLanguageModelsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListLanguageModelsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListLanguageModelsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of custom language models to return in each page of results.StringnameContains()Returns only the custom language models that contain the specified string.StringnextToken()If yourListLanguageModelsrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string.List<SdkField<?>>sdkFields()static Class<? extends ListLanguageModelsRequest.Builder>serializableBuilderClass()ModelStatusstatusEquals()Returns only custom language models with the specified status.StringstatusEqualsAsString()Returns only custom language models with the specified status.ListLanguageModelsRequest.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
-
statusEquals
public final ModelStatus statusEquals()
Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include
StatusEquals, all custom language models are returned.If the service returns an enum value that is not available in the current SDK version,
statusEqualswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusEqualsAsString().- Returns:
- Returns only custom language models with the specified status. Language models are ordered by creation
date, with the newest model first. If you do not include
StatusEquals, all custom language models are returned. - See Also:
ModelStatus
-
statusEqualsAsString
public final String statusEqualsAsString()
Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include
StatusEquals, all custom language models are returned.If the service returns an enum value that is not available in the current SDK version,
statusEqualswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusEqualsAsString().- Returns:
- Returns only custom language models with the specified status. Language models are ordered by creation
date, with the newest model first. If you do not include
StatusEquals, all custom language models are returned. - See Also:
ModelStatus
-
nameContains
public final String nameContains()
Returns only the custom language models that contain the specified string. The search is not case sensitive.
- Returns:
- Returns only the custom language models that contain the specified string. The search is not case sensitive.
-
nextToken
public final String nextToken()
If your
ListLanguageModelsrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.- Returns:
- If your
ListLanguageModelsrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.
-
maxResults
public final Integer maxResults()
The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- Returns:
- The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
-
toBuilder
public ListLanguageModelsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListLanguageModelsRequest.Builder,ListLanguageModelsRequest>- Specified by:
toBuilderin classTranscribeRequest
-
builder
public static ListLanguageModelsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListLanguageModelsRequest.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
-
-