Interface ListProvisionedModelThroughputsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ListProvisionedModelThroughputsResponse.Builder,
,ListProvisionedModelThroughputsResponse> SdkBuilder<ListProvisionedModelThroughputsResponse.Builder,
,ListProvisionedModelThroughputsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListProvisionedModelThroughputsResponse
public static interface ListProvisionedModelThroughputsResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListProvisionedModelThroughputsResponse.Builder,ListProvisionedModelThroughputsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionContinuation token for the next request to list the next set of results.provisionedModelSummaries
(Collection<ProvisionedModelSummary> provisionedModelSummaries) List of summaries, one for each provisioned throughput in the response.provisionedModelSummaries
(Consumer<ProvisionedModelSummary.Builder>... provisionedModelSummaries) List of summaries, one for each provisioned throughput in the response.provisionedModelSummaries
(ProvisionedModelSummary... provisionedModelSummaries) List of summaries, one for each provisioned throughput in the response.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
Continuation token for the next request to list the next set of results.
- Parameters:
nextToken
- Continuation token for the next request to list the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedModelSummaries
ListProvisionedModelThroughputsResponse.Builder provisionedModelSummaries(Collection<ProvisionedModelSummary> provisionedModelSummaries) List of summaries, one for each provisioned throughput in the response.
- Parameters:
provisionedModelSummaries
- List of summaries, one for each provisioned throughput in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedModelSummaries
ListProvisionedModelThroughputsResponse.Builder provisionedModelSummaries(ProvisionedModelSummary... provisionedModelSummaries) List of summaries, one for each provisioned throughput in the response.
- Parameters:
provisionedModelSummaries
- List of summaries, one for each provisioned throughput in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedModelSummaries
ListProvisionedModelThroughputsResponse.Builder provisionedModelSummaries(Consumer<ProvisionedModelSummary.Builder>... provisionedModelSummaries) List of summaries, one for each provisioned throughput in the response.
This is a convenience method that creates an instance of theProvisionedModelSummary.Builder
avoiding the need to create one manually viaProvisionedModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedModelSummaries(List<ProvisionedModelSummary>)
.- Parameters:
provisionedModelSummaries
- a consumer that will call methods onProvisionedModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-