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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInferenceProfilesResponse.BuilderinferenceProfileSummaries(Collection<InferenceProfileSummary> inferenceProfileSummaries)A list of information about each inference profile that you can use.ListInferenceProfilesResponse.BuilderinferenceProfileSummaries(Consumer<InferenceProfileSummary.Builder>... inferenceProfileSummaries)A list of information about each inference profile that you can use.ListInferenceProfilesResponse.BuilderinferenceProfileSummaries(InferenceProfileSummary... inferenceProfileSummaries)A list of information about each inference profile that you can use.ListInferenceProfilesResponse.BuildernextToken(String 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.-
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 Detail
-
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 to#inferenceProfileSummaries(List.) - 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:
#inferenceProfileSummaries(java.util.Collection)
-
nextToken
ListInferenceProfilesResponse.Builder nextToken(String 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.
-
-