Interface ListInferenceComponentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListInferenceComponentsRequest.Builder,ListInferenceComponentsRequest>
,SageMakerRequest.Builder
,SdkBuilder<ListInferenceComponentsRequest.Builder,ListInferenceComponentsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListInferenceComponentsRequest
public static interface ListInferenceComponentsRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<ListInferenceComponentsRequest.Builder,ListInferenceComponentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInferenceComponentsRequest.Builder
creationTimeAfter(Instant creationTimeAfter)
Filters the results to only those inference components that were created after the specified time.ListInferenceComponentsRequest.Builder
creationTimeBefore(Instant creationTimeBefore)
Filters the results to only those inference components that were created before the specified time.ListInferenceComponentsRequest.Builder
endpointNameEquals(String endpointNameEquals)
An endpoint name to filter the listed inference components.ListInferenceComponentsRequest.Builder
lastModifiedTimeAfter(Instant lastModifiedTimeAfter)
Filters the results to only those inference components that were updated after the specified time.ListInferenceComponentsRequest.Builder
lastModifiedTimeBefore(Instant lastModifiedTimeBefore)
Filters the results to only those inference components that were updated before the specified time.ListInferenceComponentsRequest.Builder
maxResults(Integer maxResults)
The maximum number of inference components to return in the response.ListInferenceComponentsRequest.Builder
nameContains(String nameContains)
Filters the results to only those inference components with a name that contains the specified string.ListInferenceComponentsRequest.Builder
nextToken(String nextToken)
A token that you use to get the next set of results following a truncated response.ListInferenceComponentsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListInferenceComponentsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ListInferenceComponentsRequest.Builder
sortBy(String sortBy)
The field by which to sort the inference components in the response.ListInferenceComponentsRequest.Builder
sortBy(InferenceComponentSortKey sortBy)
The field by which to sort the inference components in the response.ListInferenceComponentsRequest.Builder
sortOrder(String sortOrder)
The sort order for results.ListInferenceComponentsRequest.Builder
sortOrder(OrderKey sortOrder)
The sort order for results.ListInferenceComponentsRequest.Builder
statusEquals(String statusEquals)
Filters the results to only those inference components with the specified status.ListInferenceComponentsRequest.Builder
statusEquals(InferenceComponentStatus statusEquals)
Filters the results to only those inference components with the specified status.ListInferenceComponentsRequest.Builder
variantNameEquals(String variantNameEquals)
A production variant name to filter the listed inference components.-
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
-
sortBy
ListInferenceComponentsRequest.Builder sortBy(String sortBy)
The field by which to sort the inference components in the response. The default is
CreationTime
.- Parameters:
sortBy
- The field by which to sort the inference components in the response. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceComponentSortKey
,InferenceComponentSortKey
-
sortBy
ListInferenceComponentsRequest.Builder sortBy(InferenceComponentSortKey sortBy)
The field by which to sort the inference components in the response. The default is
CreationTime
.- Parameters:
sortBy
- The field by which to sort the inference components in the response. The default isCreationTime
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceComponentSortKey
,InferenceComponentSortKey
-
sortOrder
ListInferenceComponentsRequest.Builder sortOrder(String sortOrder)
The sort order for results. The default is
Descending
.
-
sortOrder
ListInferenceComponentsRequest.Builder sortOrder(OrderKey sortOrder)
The sort order for results. The default is
Descending
.
-
nextToken
ListInferenceComponentsRequest.Builder nextToken(String nextToken)
A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token.
- Parameters:
nextToken
- A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListInferenceComponentsRequest.Builder maxResults(Integer maxResults)
The maximum number of inference components to return in the response. This value defaults to 10.
- Parameters:
maxResults
- The maximum number of inference components to return in the response. This value defaults to 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nameContains
ListInferenceComponentsRequest.Builder nameContains(String nameContains)
Filters the results to only those inference components with a name that contains the specified string.
- Parameters:
nameContains
- Filters the results to only those inference components with a name that contains the specified string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeBefore
ListInferenceComponentsRequest.Builder creationTimeBefore(Instant creationTimeBefore)
Filters the results to only those inference components that were created before the specified time.
- Parameters:
creationTimeBefore
- Filters the results to only those inference components that were created before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeAfter
ListInferenceComponentsRequest.Builder creationTimeAfter(Instant creationTimeAfter)
Filters the results to only those inference components that were created after the specified time.
- Parameters:
creationTimeAfter
- Filters the results to only those inference components that were created after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimeBefore
ListInferenceComponentsRequest.Builder lastModifiedTimeBefore(Instant lastModifiedTimeBefore)
Filters the results to only those inference components that were updated before the specified time.
- Parameters:
lastModifiedTimeBefore
- Filters the results to only those inference components that were updated before the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimeAfter
ListInferenceComponentsRequest.Builder lastModifiedTimeAfter(Instant lastModifiedTimeAfter)
Filters the results to only those inference components that were updated after the specified time.
- Parameters:
lastModifiedTimeAfter
- Filters the results to only those inference components that were updated after the specified time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusEquals
ListInferenceComponentsRequest.Builder statusEquals(String statusEquals)
Filters the results to only those inference components with the specified status.
- Parameters:
statusEquals
- Filters the results to only those inference components with the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceComponentStatus
,InferenceComponentStatus
-
statusEquals
ListInferenceComponentsRequest.Builder statusEquals(InferenceComponentStatus statusEquals)
Filters the results to only those inference components with the specified status.
- Parameters:
statusEquals
- Filters the results to only those inference components with the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InferenceComponentStatus
,InferenceComponentStatus
-
endpointNameEquals
ListInferenceComponentsRequest.Builder endpointNameEquals(String endpointNameEquals)
An endpoint name to filter the listed inference components. The response includes only those inference components that are hosted at the specified endpoint.
- Parameters:
endpointNameEquals
- An endpoint name to filter the listed inference components. The response includes only those inference components that are hosted at the specified endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variantNameEquals
ListInferenceComponentsRequest.Builder variantNameEquals(String variantNameEquals)
A production variant name to filter the listed inference components. The response includes only those inference components that are hosted at the specified variant.
- Parameters:
variantNameEquals
- A production variant name to filter the listed inference components. The response includes only those inference components that are hosted at the specified variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListInferenceComponentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListInferenceComponentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-