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 TypeMethodDescriptionIf there are more results than the number you specified in themaxResults
field, this value is returned.provisionedModelSummaries
(Collection<ProvisionedModelSummary> provisionedModelSummaries) A list of summaries, one for each Provisioned Throughput in the response.provisionedModelSummaries
(Consumer<ProvisionedModelSummary.Builder>... provisionedModelSummaries) A list of summaries, one for each Provisioned Throughput in the response.provisionedModelSummaries
(ProvisionedModelSummary... provisionedModelSummaries) A 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
If there are more results than the number you specified in the
maxResults
field, this value is returned. To see the next batch of results, include this value in thenextToken
field in another list request.- Parameters:
nextToken
- If there are more results than the number you specified in themaxResults
field, this value is returned. To see the next batch of results, include this value in thenextToken
field in another list request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedModelSummaries
ListProvisionedModelThroughputsResponse.Builder provisionedModelSummaries(Collection<ProvisionedModelSummary> provisionedModelSummaries) A list of summaries, one for each Provisioned Throughput in the response.
- Parameters:
provisionedModelSummaries
- A 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) A list of summaries, one for each Provisioned Throughput in the response.
- Parameters:
provisionedModelSummaries
- A 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) A 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:
-