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)Continuation token for the next request to list the next set of results.ListProvisionedModelThroughputsResponse.BuilderprovisionedModelSummaries(Collection<ProvisionedModelSummary> provisionedModelSummaries)List of summaries, one for each provisioned throughput in the response.ListProvisionedModelThroughputsResponse.BuilderprovisionedModelSummaries(Consumer<ProvisionedModelSummary.Builder>... provisionedModelSummaries)List of summaries, one for each provisioned throughput in the response.ListProvisionedModelThroughputsResponse.BuilderprovisionedModelSummaries(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 Detail
-
nextToken
ListProvisionedModelThroughputsResponse.Builder nextToken(String 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.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)
-
-