Interface ListInferenceProfilesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListInferenceProfilesResponse.Builder,
,ListInferenceProfilesResponse> SdkBuilder<ListInferenceProfilesResponse.Builder,
,ListInferenceProfilesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInferenceProfilesResponse
@Mutable
@NotThreadSafe
public static interface ListInferenceProfilesResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListInferenceProfilesResponse.Builder,ListInferenceProfilesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninferenceProfileSummaries
(Collection<InferenceProfileSummary> inferenceProfileSummaries) A list of information about each inference profile that you can use.inferenceProfileSummaries
(Consumer<InferenceProfileSummary.Builder>... inferenceProfileSummaries) A list of information about each inference profile that you can use.inferenceProfileSummaries
(InferenceProfileSummary... inferenceProfileSummaries) A list of information about each inference profile that you can use.If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
inferenceProfileSummaries
ListInferenceProfilesResponse.Builder inferenceProfileSummaries(Collection<InferenceProfileSummary> inferenceProfileSummaries) A list of information about each inference profile that you can use.
- Parameters:
inferenceProfileSummaries
- A list of information about each inference profile that you can use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceProfileSummaries
ListInferenceProfilesResponse.Builder inferenceProfileSummaries(InferenceProfileSummary... inferenceProfileSummaries) A list of information about each inference profile that you can use.
- Parameters:
inferenceProfileSummaries
- A list of information about each inference profile that you can use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceProfileSummaries
ListInferenceProfilesResponse.Builder inferenceProfileSummaries(Consumer<InferenceProfileSummary.Builder>... inferenceProfileSummaries) A list of information about each inference profile that you can use.
This is a convenience method that creates an instance of theInferenceProfileSummary.Builder
avoiding the need to create one manually viaInferenceProfileSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferenceProfileSummaries(List<InferenceProfileSummary>)
.- Parameters:
inferenceProfileSummaries
- a consumer that will call methods onInferenceProfileSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the total number of results is greater than the
maxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.- Parameters:
nextToken
- If the total number of results is greater than themaxResults
value provided in the request, use this token when making another request in thenextToken
field to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-