@Generated(value="software.amazon.awssdk:codegen") public final class ListModelCardVersionsRequest extends SageMakerRequest implements ToCopyableBuilder<ListModelCardVersionsRequest.Builder,ListModelCardVersionsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListModelCardVersionsRequest.Builder |
| Modifier and Type | Method and 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.
|
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 previous
ListModelCardVersions request was truncated, the response includes a
NextToken. |
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.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant creationTimeAfter()
Only list model card versions that were created after the time specified.
public final Instant creationTimeBefore()
Only list model card versions that were created before the time specified.
public final Integer maxResults()
The maximum number of model card versions to list.
public final String modelCardName()
List model card versions for the model card with the specified name.
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 return ModelCardStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from modelCardStatusAsString().
ModelCardStatuspublic 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 return ModelCardStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from modelCardStatusAsString().
ModelCardStatuspublic final String nextToken()
If the response to a previous ListModelCardVersions request was truncated, the response includes a
NextToken. To retrieve the next set of model card versions, use the token in the next request.
ListModelCardVersions request was truncated, the response
includes a NextToken. To retrieve the next set of model card versions, use the token in the
next request.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
return ModelCardVersionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
ModelCardVersionSortBypublic 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
return ModelCardVersionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from sortByAsString().
ModelCardVersionSortBypublic 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
return ModelCardSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
ModelCardSortOrderpublic 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
return ModelCardSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
ModelCardSortOrderpublic ListModelCardVersionsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListModelCardVersionsRequest.Builder,ListModelCardVersionsRequest>toBuilder in class SageMakerRequestpublic static ListModelCardVersionsRequest.Builder builder()
public static Class<? extends ListModelCardVersionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.