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 themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInferenceProfileSummary.builder().When the
Consumercompletes,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
maxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, use this token when making another request in thenextTokenfield to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-