Class ListModelVersionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest
-
- software.amazon.awssdk.services.lookoutequipment.model.ListModelVersionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListModelVersionsRequest.Builder,ListModelVersionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListModelVersionsRequest extends LookoutEquipmentRequest implements ToCopyableBuilder<ListModelVersionsRequest.Builder,ListModelVersionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListModelVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelVersionsRequest.Builderbuilder()InstantcreatedAtEndTime()Filter results to return all the model versions created before this time.InstantcreatedAtStartTime()Filter results to return all the model versions created after this time.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongmaxModelVersion()Specifies the highest version of the model to return in the list.IntegermaxResults()Specifies the maximum number of machine learning model versions to list.LongminModelVersion()Specifies the lowest version of the model to return in the list.StringmodelName()Then name of the machine learning model for which the model versions are to be listed.StringnextToken()If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions.List<SdkField<?>>sdkFields()static Class<? extends ListModelVersionsRequest.Builder>serializableBuilderClass()ModelVersionSourceTypesourceType()Filter the results based on the way the model version was generated.StringsourceTypeAsString()Filter the results based on the way the model version was generated.ModelVersionStatusstatus()Filter the results based on the current status of the model version.StringstatusAsString()Filter the results based on the current status of the model version.ListModelVersionsRequest.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
-
modelName
public final String modelName()
Then name of the machine learning model for which the model versions are to be listed.
- Returns:
- Then name of the machine learning model for which the model versions are to be listed.
-
nextToken
public final String nextToken()
If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions. Use this token in the
NextTokenfield in the request to list the next page of results.- Returns:
- If the total number of results exceeds the limit that the response can display, the response returns an
opaque pagination token indicating where to continue the listing of machine learning model versions. Use
this token in the
NextTokenfield in the request to list the next page of results.
-
maxResults
public final Integer maxResults()
Specifies the maximum number of machine learning model versions to list.
- Returns:
- Specifies the maximum number of machine learning model versions to list.
-
status
public final ModelVersionStatus status()
Filter the results based on the current status of the model version.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Filter the results based on the current status of the model version.
- See Also:
ModelVersionStatus
-
statusAsString
public final String statusAsString()
Filter the results based on the current status of the model version.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Filter the results based on the current status of the model version.
- See Also:
ModelVersionStatus
-
sourceType
public final ModelVersionSourceType sourceType()
Filter the results based on the way the model version was generated.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnModelVersionSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- Filter the results based on the way the model version was generated.
- See Also:
ModelVersionSourceType
-
sourceTypeAsString
public final String sourceTypeAsString()
Filter the results based on the way the model version was generated.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnModelVersionSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- Filter the results based on the way the model version was generated.
- See Also:
ModelVersionSourceType
-
createdAtEndTime
public final Instant createdAtEndTime()
Filter results to return all the model versions created before this time.
- Returns:
- Filter results to return all the model versions created before this time.
-
createdAtStartTime
public final Instant createdAtStartTime()
Filter results to return all the model versions created after this time.
- Returns:
- Filter results to return all the model versions created after this time.
-
maxModelVersion
public final Long maxModelVersion()
Specifies the highest version of the model to return in the list.
- Returns:
- Specifies the highest version of the model to return in the list.
-
minModelVersion
public final Long minModelVersion()
Specifies the lowest version of the model to return in the list.
- Returns:
- Specifies the lowest version of the model to return in the list.
-
toBuilder
public ListModelVersionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListModelVersionsRequest.Builder,ListModelVersionsRequest>- Specified by:
toBuilderin classLookoutEquipmentRequest
-
builder
public static ListModelVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListModelVersionsRequest.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
-
-