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 themaxResultsfield, 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, 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, sdkFieldsMethods 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
maxResultsfield, this value is returned. To see the next batch of results, include this value in thenextTokenfield in another list request.- Parameters:
nextToken- If there are more results than the number you specified in themaxResultsfield, this value is returned. To see the next batch of results, include this value in thenextTokenfield 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.Builderavoiding the need to create one manually viaProvisionedModelSummary.builder().When the
Consumercompletes,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:
-