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 interface
ListModelCardVersionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelCardVersionsRequest.Builder
builder()
Instant
creationTimeAfter()
Only list model card versions that were created after the time specified.Instant
creationTimeBefore()
Only list model card versions 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 card versions to list.String
modelCardName()
List model card versions for the model card with the specified name or Amazon Resource Name (ARN).ModelCardStatus
modelCardStatus()
Only list model card versions with the specified approval status.String
modelCardStatusAsString()
Only list model card versions with the specified approval status.String
nextToken()
If the response to a previousListModelCardVersions
request was truncated, the response includes aNextToken
.List<SdkField<?>>
sdkFields()
static Class<? extends ListModelCardVersionsRequest.Builder>
serializableBuilderClass()
ModelCardVersionSortBy
sortBy()
Sort listed model card versions by version.String
sortByAsString()
Sort listed model card versions by version.ModelCardSortOrder
sortOrder()
Sort model card versions by ascending or descending order.String
sortOrderAsString()
Sort model card versions by ascending or descending order.ListModelCardVersionsRequest.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 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,
modelCardStatus
will 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,
modelCardStatus
will 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
ListModelCardVersions
request 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
ListModelCardVersions
request 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,
sortBy
will 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,
sortBy
will 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,
sortOrder
will 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,
sortOrder
will 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:
toBuilder
in interfaceToCopyableBuilder<ListModelCardVersionsRequest.Builder,ListModelCardVersionsRequest>
- Specified by:
toBuilder
in classSageMakerRequest
-
builder
public static ListModelCardVersionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListModelCardVersionsRequest.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
-
-