Interface ListArtifactsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListArtifactsRequest.Builder,ListArtifactsRequest>,SageMakerRequest.Builder,SdkBuilder<ListArtifactsRequest.Builder,ListArtifactsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListArtifactsRequest
public static interface ListArtifactsRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListArtifactsRequest.Builder,ListArtifactsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListArtifactsRequest.BuilderartifactType(String artifactType)A filter that returns only artifacts of the specified type.ListArtifactsRequest.BuildercreatedAfter(Instant createdAfter)A filter that returns only artifacts created on or after the specified time.ListArtifactsRequest.BuildercreatedBefore(Instant createdBefore)A filter that returns only artifacts created on or before the specified time.ListArtifactsRequest.BuildermaxResults(Integer maxResults)The maximum number of artifacts to return in the response.ListArtifactsRequest.BuildernextToken(String nextToken)If the previous call toListArtifactsdidn't return the full set of artifacts, the call returns a token for getting the next set of artifacts.ListArtifactsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListArtifactsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListArtifactsRequest.BuildersortBy(String sortBy)The property used to sort results.ListArtifactsRequest.BuildersortBy(SortArtifactsBy sortBy)The property used to sort results.ListArtifactsRequest.BuildersortOrder(String sortOrder)The sort order.ListArtifactsRequest.BuildersortOrder(SortOrder sortOrder)The sort order.ListArtifactsRequest.BuildersourceUri(String sourceUri)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 Detail
-
sourceUri
ListArtifactsRequest.Builder sourceUri(String 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
ListArtifactsRequest.Builder artifactType(String 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
ListArtifactsRequest.Builder createdAfter(Instant 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
ListArtifactsRequest.Builder createdBefore(Instant 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
ListArtifactsRequest.Builder sortBy(String 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:
SortArtifactsBy,SortArtifactsBy
-
sortBy
ListArtifactsRequest.Builder sortBy(SortArtifactsBy 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:
SortArtifactsBy,SortArtifactsBy
-
sortOrder
ListArtifactsRequest.Builder sortOrder(String sortOrder)
The sort order. The default value is
Descending.
-
sortOrder
ListArtifactsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order. The default value is
Descending.
-
nextToken
ListArtifactsRequest.Builder nextToken(String nextToken)
If the previous call to
ListArtifactsdidn'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 toListArtifactsdidn'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
ListArtifactsRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListArtifactsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-