Class ListModelCardsRequest
- 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.ListModelCardsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListModelCardsRequest.Builder,ListModelCardsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListModelCardsRequest extends SageMakerRequest implements ToCopyableBuilder<ListModelCardsRequest.Builder,ListModelCardsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListModelCardsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelCardsRequest.Builderbuilder()InstantcreationTimeAfter()Only list model cards that were created after the time specified.InstantcreationTimeBefore()Only list model cards 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 cards to list.ModelCardStatusmodelCardStatus()Only list model cards with the specified approval status.StringmodelCardStatusAsString()Only list model cards with the specified approval status.StringnameContains()Only list model cards with names that contain the specified string.StringnextToken()If the response to a previousListModelCardsrequest was truncated, the response includes aNextToken.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListModelCardsRequest.Builder>serializableBuilderClass()ModelCardSortBysortBy()Sort model cards by either name or creation time.StringsortByAsString()Sort model cards by either name or creation time.ModelCardSortOrdersortOrder()Sort model cards by ascending or descending order.StringsortOrderAsString()Sort model cards by ascending or descending order.ListModelCardsRequest.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 cards that were created after the time specified.
- Returns:
- Only list model cards that were created after the time specified.
-
creationTimeBefore
public final Instant creationTimeBefore()
Only list model cards that were created before the time specified.
- Returns:
- Only list model cards that were created before the time specified.
-
maxResults
public final Integer maxResults()
The maximum number of model cards to list.
- Returns:
- The maximum number of model cards to list.
-
nameContains
public final String nameContains()
Only list model cards with names that contain the specified string.
- Returns:
- Only list model cards with names that contain the specified string.
-
modelCardStatus
public final ModelCardStatus modelCardStatus()
Only list model cards 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 cards with the specified approval status.
- See Also:
ModelCardStatus
-
modelCardStatusAsString
public final String modelCardStatusAsString()
Only list model cards 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 cards with the specified approval status.
- See Also:
ModelCardStatus
-
nextToken
public final String nextToken()
If the response to a previous
ListModelCardsrequest was truncated, the response includes aNextToken. To retrieve the next set of model cards, use the token in the next request.- Returns:
- If the response to a previous
ListModelCardsrequest was truncated, the response includes aNextToken. To retrieve the next set of model cards, use the token in the next request.
-
sortBy
public final ModelCardSortBy sortBy()
Sort model cards by either name or creation time. Sorts by creation time by default.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnModelCardSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Sort model cards by either name or creation time. Sorts by creation time by default.
- See Also:
ModelCardSortBy
-
sortByAsString
public final String sortByAsString()
Sort model cards by either name or creation time. Sorts by creation time by default.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnModelCardSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Sort model cards by either name or creation time. Sorts by creation time by default.
- See Also:
ModelCardSortBy
-
sortOrder
public final ModelCardSortOrder sortOrder()
Sort model cards 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 cards by ascending or descending order.
- See Also:
ModelCardSortOrder
-
sortOrderAsString
public final String sortOrderAsString()
Sort model cards 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 cards by ascending or descending order.
- See Also:
ModelCardSortOrder
-
toBuilder
public ListModelCardsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListModelCardsRequest.Builder,ListModelCardsRequest>- Specified by:
toBuilderin classSageMakerRequest
-
builder
public static ListModelCardsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListModelCardsRequest.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
-
-