Interface ListInferenceComponentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInferenceComponentsResponse.Builder,
,ListInferenceComponentsResponse> SageMakerResponse.Builder
,SdkBuilder<ListInferenceComponentsResponse.Builder,
,ListInferenceComponentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInferenceComponentsResponse
public static interface ListInferenceComponentsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListInferenceComponentsResponse.Builder,ListInferenceComponentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninferenceComponents
(Collection<InferenceComponentSummary> inferenceComponents) A list of inference components and their properties that matches any of the filters you specified in the request.inferenceComponents
(Consumer<InferenceComponentSummary.Builder>... inferenceComponents) A list of inference components and their properties that matches any of the filters you specified in the request.inferenceComponents
(InferenceComponentSummary... inferenceComponents) A list of inference components and their properties that matches any of the filters you specified in the request.The token to use in a subsequent request to get the next set of results following a truncated response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
inferenceComponents
ListInferenceComponentsResponse.Builder inferenceComponents(Collection<InferenceComponentSummary> inferenceComponents) A list of inference components and their properties that matches any of the filters you specified in the request.
- Parameters:
inferenceComponents
- A list of inference components and their properties that matches any of the filters you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponents
ListInferenceComponentsResponse.Builder inferenceComponents(InferenceComponentSummary... inferenceComponents) A list of inference components and their properties that matches any of the filters you specified in the request.
- Parameters:
inferenceComponents
- A list of inference components and their properties that matches any of the filters you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceComponents
ListInferenceComponentsResponse.Builder inferenceComponents(Consumer<InferenceComponentSummary.Builder>... inferenceComponents) A list of inference components and their properties that matches any of the filters you specified in the request.
This is a convenience method that creates an instance of theInferenceComponentSummary.Builder
avoiding the need to create one manually viaInferenceComponentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferenceComponents(List<InferenceComponentSummary>)
.- Parameters:
inferenceComponents
- a consumer that will call methods onInferenceComponentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use in a subsequent request to get the next set of results following a truncated response.
- Parameters:
nextToken
- The token to use in a subsequent request to get the next set of results following a truncated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-