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 interface
ListModelCardsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelCardsRequest.Builder
builder()
Instant
creationTimeAfter()
Only list model cards that were created after the time specified.Instant
creationTimeBefore()
Only list model cards that were created before the time specified.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Integer
maxResults()
The maximum number of model cards to list.ModelCardStatus
modelCardStatus()
Only list model cards with the specified approval status.String
modelCardStatusAsString()
Only list model cards with the specified approval status.String
nameContains()
Only list model cards with names that contain the specified string.String
nextToken()
If the response to a previousListModelCards
request was truncated, the response includes aNextToken
.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends ListModelCardsRequest.Builder>
serializableBuilderClass()
ModelCardSortBy
sortBy()
Sort model cards by either name or creation time.String
sortByAsString()
Sort model cards by either name or creation time.ModelCardSortOrder
sortOrder()
Sort model cards by ascending or descending order.String
sortOrderAsString()
Sort model cards by ascending or descending order.ListModelCardsRequest.Builder
toBuilder()
String
toString()
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,
modelCardStatus
will 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,
modelCardStatus
will 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
ListModelCards
request 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
ListModelCards
request 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,
sortBy
will 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,
sortBy
will 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,
sortOrder
will 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,
sortOrder
will 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:
toBuilder
in interfaceToCopyableBuilder<ListModelCardsRequest.Builder,ListModelCardsRequest>
- Specified by:
toBuilder
in classSageMakerRequest
-
builder
public static ListModelCardsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListModelCardsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-