Interface ListImageVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListImageVersionsRequest.Builder,
,ListImageVersionsRequest> SageMakerRequest.Builder
,SdkBuilder<ListImageVersionsRequest.Builder,
,ListImageVersionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListImageVersionsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreationTimeAfter
(Instant creationTimeAfter) A filter that returns only versions created on or after the specified time.creationTimeBefore
(Instant creationTimeBefore) A filter that returns only versions created on or before the specified time.The name of the image to list the versions of.lastModifiedTimeAfter
(Instant lastModifiedTimeAfter) A filter that returns only versions modified on or after the specified time.lastModifiedTimeBefore
(Instant lastModifiedTimeBefore) A filter that returns only versions modified on or before the specified time.maxResults
(Integer maxResults) The maximum number of versions to return in the response.If the previous call toListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The property used to sort results.sortBy
(ImageVersionSortBy sortBy) The property used to sort results.The sort order.sortOrder
(ImageVersionSortOrder sortOrder) The sort 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
A filter that returns only versions created on or after the specified time.
- Parameters:
creationTimeAfter
- A filter that returns only versions created on or after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
A filter that returns only versions created on or before the specified time.
- Parameters:
creationTimeBefore
- A filter that returns only versions created on or before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageName
The name of the image to list the versions of.
- Parameters:
imageName
- The name of the image to list the versions of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimeAfter
A filter that returns only versions modified on or after the specified time.
- Parameters:
lastModifiedTimeAfter
- A filter that returns only versions modified on or after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimeBefore
A filter that returns only versions modified on or before the specified time.
- Parameters:
lastModifiedTimeBefore
- A filter that returns only versions modified on or before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of versions to return in the response. The default value is 10.
- Parameters:
maxResults
- The maximum number of versions to return in the response. The default value is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the previous call to
ListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.- Parameters:
nextToken
- If the previous call toListImageVersions
didn't return the full set of versions, the call returns a token for getting the next set of versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
The property used to sort results. The default value is
CREATION_TIME
.- Parameters:
sortBy
- The property used to sort results. The default value isCREATION_TIME
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortBy
The property used to sort results. The default value is
CREATION_TIME
.- Parameters:
sortBy
- The property used to sort results. The default value isCREATION_TIME
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order. The default value is
DESCENDING
.- Parameters:
sortOrder
- The sort order. The default value isDESCENDING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The sort order. The default value is
DESCENDING
.- Parameters:
sortOrder
- The sort order. The default value isDESCENDING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListImageVersionsRequest.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
ListImageVersionsRequest.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.
-