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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.ListInferenceComponentsResponse.Builder
inferenceComponents(InferenceComponentSummary... inferenceComponents)
A list of inference components and their properties that matches any of the filters you specified in the request.ListInferenceComponentsResponse.Builder
nextToken(String nextToken)
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#inferenceComponents(List
.) - 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:
#inferenceComponents(java.util.Collection
)
-
nextToken
ListInferenceComponentsResponse.Builder nextToken(String 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.
-
-