Interface ListArtifactsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListArtifactsRequest.Builder,
,ListArtifactsRequest> SageMakerRequest.Builder
,SdkBuilder<ListArtifactsRequest.Builder,
,ListArtifactsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListArtifactsRequest
-
Method Summary
Modifier and TypeMethodDescriptionartifactType
(String artifactType) A filter that returns only artifacts of the specified type.createdAfter
(Instant createdAfter) A filter that returns only artifacts created on or after the specified time.createdBefore
(Instant createdBefore) A filter that returns only artifacts created on or before the specified time.maxResults
(Integer maxResults) The maximum number of artifacts to return in the response.If the previous call toListArtifacts
didn't return the full set of artifacts, the call returns a token for getting the next set of artifacts.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
(SortArtifactsBy sortBy) The property used to sort results.The sort order.The sort order.A filter that returns only artifacts with the specified source URI.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
-
sourceUri
A filter that returns only artifacts with the specified source URI.
- Parameters:
sourceUri
- A filter that returns only artifacts with the specified source URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactType
A filter that returns only artifacts of the specified type.
- Parameters:
artifactType
- A filter that returns only artifacts of the specified type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAfter
A filter that returns only artifacts created on or after the specified time.
- Parameters:
createdAfter
- A filter that returns only artifacts created on or after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBefore
A filter that returns only artifacts created on or before the specified time.
- Parameters:
createdBefore
- A filter that returns only artifacts created on or before the specified time.- 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
CreationTime
.- Parameters:
sortBy
- The property used to sort results. The default value isCreationTime
.- 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
CreationTime
.- Parameters:
sortBy
- The property used to sort results. The default value isCreationTime
.- 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:
-
nextToken
If the previous call to
ListArtifacts
didn't return the full set of artifacts, the call returns a token for getting the next set of artifacts.- Parameters:
nextToken
- If the previous call toListArtifacts
didn't return the full set of artifacts, the call returns a token for getting the next set of artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of artifacts to return in the response. The default value is 10.
- Parameters:
maxResults
- The maximum number of artifacts 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.
-
overrideConfiguration
ListArtifactsRequest.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
ListArtifactsRequest.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.
-