Class ListModelCardVersionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sagemaker.model.SageMakerRequest
-
- software.amazon.awssdk.services.sagemaker.model.ListModelCardVersionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListModelCardVersionsRequest.Builder,ListModelCardVersionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListModelCardVersionsRequest extends SageMakerRequest implements ToCopyableBuilder<ListModelCardVersionsRequest.Builder,ListModelCardVersionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListModelCardVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelCardVersionsRequest.Builderbuilder()InstantcreationTimeAfter()Only list model card versions that were created after the time specified.InstantcreationTimeBefore()Only list model card versions that were created before the time specified.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of model card versions to list.StringmodelCardName()List model card versions for the model card with the specified name or Amazon Resource Name (ARN).ModelCardStatusmodelCardStatus()Only list model card versions with the specified approval status.StringmodelCardStatusAsString()Only list model card versions with the specified approval status.StringnextToken()If the response to a previousListModelCardVersionsrequest was truncated, the response includes aNextToken.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListModelCardVersionsRequest.Builder>serializableBuilderClass()ModelCardVersionSortBysortBy()Sort listed model card versions by version.StringsortByAsString()Sort listed model card versions by version.ModelCardSortOrdersortOrder()Sort model card versions by ascending or descending order.StringsortOrderAsString()Sort model card versions by ascending or descending order.ListModelCardVersionsRequest.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
-
creationTimeAfter
public final Instant creationTimeAfter()
Only list model card versions that were created after the time specified.
- Returns:
- Only list model card versions that were created after the time specified.
-
creationTimeBefore
public final Instant creationTimeBefore()
Only list model card versions that were created before the time specified.
- Returns:
- Only list model card versions that were created before the time specified.
-
maxResults
public final Integer maxResults()
The maximum number of model card versions to list.
- Returns:
- The maximum number of model card versions to list.
-
modelCardName
public final String modelCardName()
List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
- Returns:
- List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
-
modelCardStatus
public final ModelCardStatus modelCardStatus()
Only list model card versions with the specified approval status.
If the service returns an enum value that is not available in the current SDK version,
modelCardStatuswill returnModelCardStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelCardStatusAsString().- Returns:
- Only list model card versions with the specified approval status.
- See Also:
ModelCardStatus
-
modelCardStatusAsString
public final String modelCardStatusAsString()
Only list model card versions with the specified approval status.
If the service returns an enum value that is not available in the current SDK version,
modelCardStatuswill returnModelCardStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelCardStatusAsString().- Returns:
- Only list model card versions with the specified approval status.
- See Also:
ModelCardStatus
-
nextToken
public final String nextToken()
If the response to a previous
ListModelCardVersionsrequest was truncated, the response includes aNextToken. To retrieve the next set of model card versions, use the token in the next request.- Returns:
- If the response to a previous
ListModelCardVersionsrequest was truncated, the response includes aNextToken. To retrieve the next set of model card versions, use the token in the next request.
-
sortBy
public final ModelCardVersionSortBy sortBy()
Sort listed model card versions by version. Sorts by version by default.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnModelCardVersionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Sort listed model card versions by version. Sorts by version by default.
- See Also:
ModelCardVersionSortBy
-
sortByAsString
public final String sortByAsString()
Sort listed model card versions by version. Sorts by version by default.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnModelCardVersionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Sort listed model card versions by version. Sorts by version by default.
- See Also:
ModelCardVersionSortBy
-
sortOrder
public final ModelCardSortOrder sortOrder()
Sort model card versions by ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnModelCardSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Sort model card versions by ascending or descending order.
- See Also:
ModelCardSortOrder
-
sortOrderAsString
public final String sortOrderAsString()
Sort model card versions by ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnModelCardSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Sort model card versions by ascending or descending order.
- See Also:
ModelCardSortOrder
-
toBuilder
public ListModelCardVersionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListModelCardVersionsRequest.Builder,ListModelCardVersionsRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static ListModelCardVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListModelCardVersionsRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-