Interface ListContextsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListContextsRequest.Builder,ListContextsRequest>,SageMakerRequest.Builder,SdkBuilder<ListContextsRequest.Builder,ListContextsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListContextsRequest
public static interface ListContextsRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListContextsRequest.Builder,ListContextsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListContextsRequest.BuildercontextType(String contextType)A filter that returns only contexts of the specified type.ListContextsRequest.BuildercreatedAfter(Instant createdAfter)A filter that returns only contexts created on or after the specified time.ListContextsRequest.BuildercreatedBefore(Instant createdBefore)A filter that returns only contexts created on or before the specified time.ListContextsRequest.BuildermaxResults(Integer maxResults)The maximum number of contexts to return in the response.ListContextsRequest.BuildernextToken(String nextToken)If the previous call toListContextsdidn't return the full set of contexts, the call returns a token for getting the next set of contexts.ListContextsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListContextsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListContextsRequest.BuildersortBy(String sortBy)The property used to sort results.ListContextsRequest.BuildersortBy(SortContextsBy sortBy)The property used to sort results.ListContextsRequest.BuildersortOrder(String sortOrder)The sort order.ListContextsRequest.BuildersortOrder(SortOrder sortOrder)The sort order.ListContextsRequest.BuildersourceUri(String sourceUri)A filter that returns only contexts 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
sourceUri
ListContextsRequest.Builder sourceUri(String sourceUri)
A filter that returns only contexts with the specified source URI.
- Parameters:
sourceUri- A filter that returns only contexts with the specified source URI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextType
ListContextsRequest.Builder contextType(String contextType)
A filter that returns only contexts of the specified type.
- Parameters:
contextType- A filter that returns only contexts of the specified type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAfter
ListContextsRequest.Builder createdAfter(Instant createdAfter)
A filter that returns only contexts created on or after the specified time.
- Parameters:
createdAfter- A filter that returns only contexts created on or after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBefore
ListContextsRequest.Builder createdBefore(Instant createdBefore)
A filter that returns only contexts created on or before the specified time.
- Parameters:
createdBefore- A filter that returns only contexts created on or before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListContextsRequest.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:
SortContextsBy,SortContextsBy
-
sortBy
ListContextsRequest.Builder sortBy(SortContextsBy 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:
SortContextsBy,SortContextsBy
-
sortOrder
ListContextsRequest.Builder sortOrder(String sortOrder)
The sort order. The default value is
Descending.
-
sortOrder
ListContextsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order. The default value is
Descending.
-
nextToken
ListContextsRequest.Builder nextToken(String nextToken)
If the previous call to
ListContextsdidn't return the full set of contexts, the call returns a token for getting the next set of contexts.- Parameters:
nextToken- If the previous call toListContextsdidn't return the full set of contexts, the call returns a token for getting the next set of contexts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListContextsRequest.Builder maxResults(Integer maxResults)
The maximum number of contexts to return in the response. The default value is 10.
- Parameters:
maxResults- The maximum number of contexts 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
ListContextsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListContextsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-