Interface ListModelCardVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListModelCardVersionsRequest.Builder,
,ListModelCardVersionsRequest> SageMakerRequest.Builder
,SdkBuilder<ListModelCardVersionsRequest.Builder,
,ListModelCardVersionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListModelCardVersionsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter
(Instant creationTimeAfter) Only list model card versions that were created after the time specified.creationTimeBefore
(Instant creationTimeBefore) Only list model card versions that were created before the time specified.maxResults
(Integer maxResults) The maximum number of model card versions to list.modelCardName
(String modelCardName) List model card versions for the model card with the specified name or Amazon Resource Name (ARN).modelCardStatus
(String modelCardStatus) Only list model card versions with the specified approval status.modelCardStatus
(ModelCardStatus modelCardStatus) Only list model card versions with the specified approval status.If the response to a previousListModelCardVersions
request was truncated, the response includes aNextToken
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sort listed model card versions by version.sortBy
(ModelCardVersionSortBy sortBy) Sort listed model card versions by version.Sort model card versions by ascending or descending order.sortOrder
(ModelCardSortOrder sortOrder) Sort model card versions by ascending or descending order.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
creationTimeAfter
Only list model card versions that were created after the time specified.
- Parameters:
creationTimeAfter
- Only list model card versions that were created after the time specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
Only list model card versions that were created before the time specified.
- Parameters:
creationTimeBefore
- Only list model card versions that were created before the time specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of model card versions to list.
- Parameters:
maxResults
- The maximum number of model card versions to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardName
List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
- Parameters:
modelCardName
- List model card versions for the model card with the specified name or Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardStatus
Only list model card versions with the specified approval status.
- Parameters:
modelCardStatus
- Only list model card versions with the specified approval status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelCardStatus
Only list model card versions with the specified approval status.
- Parameters:
modelCardStatus
- Only list model card versions with the specified approval status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
nextToken
- If the response to a previousListModelCardVersions
request was truncated, the response includes aNextToken
. To retrieve the next set of model card versions, use the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Sort listed model card versions by version. Sorts by version by default.
- Parameters:
sortBy
- Sort listed model card versions by version. Sorts by version by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
Sort listed model card versions by version. Sorts by version by default.
- Parameters:
sortBy
- Sort listed model card versions by version. Sorts by version by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sort model card versions by ascending or descending order.
- Parameters:
sortOrder
- Sort model card versions by ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sort model card versions by ascending or descending order.
- Parameters:
sortOrder
- Sort model card versions by ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListModelCardVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListModelCardVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-