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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProvisionedModelThroughputsResponse.BuildernextToken(String nextToken)If there are more results than the number you specified in themaxResultsfield, this value is returned.ListProvisionedModelThroughputsResponse.BuilderprovisionedModelSummaries(Collection<ProvisionedModelSummary> provisionedModelSummaries)A list of summaries, one for each Provisioned Throughput in the response.ListProvisionedModelThroughputsResponse.BuilderprovisionedModelSummaries(Consumer<ProvisionedModelSummary.Builder>... provisionedModelSummaries)A list of summaries, one for each Provisioned Throughput in the response.ListProvisionedModelThroughputsResponse.BuilderprovisionedModelSummaries(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 Detail
-
nextToken
ListProvisionedModelThroughputsResponse.Builder nextToken(String 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 to#provisionedModelSummaries(List.) - 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:
#provisionedModelSummaries(java.util.Collection)
-
-