public static interface PurchaseScheduledInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<PurchaseScheduledInstancesResponse.Builder,PurchaseScheduledInstancesResponse>
Modifier and Type | Method and Description |
---|---|
PurchaseScheduledInstancesResponse.Builder |
scheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
|
PurchaseScheduledInstancesResponse.Builder |
scheduledInstanceSet(Consumer<ScheduledInstance.Builder>... scheduledInstanceSet)
Information about the Scheduled Instances.
|
PurchaseScheduledInstancesResponse.Builder |
scheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
PurchaseScheduledInstancesResponse.Builder scheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.PurchaseScheduledInstancesResponse.Builder scheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
scheduledInstanceSet
- Information about the Scheduled Instances.PurchaseScheduledInstancesResponse.Builder scheduledInstanceSet(Consumer<ScheduledInstance.Builder>... scheduledInstanceSet)
Information about the Scheduled Instances.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #scheduledInstanceSet(List)
.scheduledInstanceSet
- a consumer that will call methods on List.Builder
#scheduledInstanceSet(List)
Copyright © 2022. All rights reserved.