Interface PurchaseScheduledInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PurchaseScheduledInstancesResponse.Builder,PurchaseScheduledInstancesResponse>,Ec2Response.Builder,SdkBuilder<PurchaseScheduledInstancesResponse.Builder,PurchaseScheduledInstancesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PurchaseScheduledInstancesResponse
@Mutable @NotThreadSafe public static interface PurchaseScheduledInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<PurchaseScheduledInstancesResponse.Builder,PurchaseScheduledInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PurchaseScheduledInstancesResponse.BuilderscheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)Information about the Scheduled Instances.PurchaseScheduledInstancesResponse.BuilderscheduledInstanceSet(Consumer<ScheduledInstance.Builder>... scheduledInstanceSet)Information about the Scheduled Instances.PurchaseScheduledInstancesResponse.BuilderscheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)Information about the Scheduled Instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
scheduledInstanceSet
PurchaseScheduledInstancesResponse.Builder scheduledInstanceSet(Collection<ScheduledInstance> scheduledInstanceSet)
Information about the Scheduled Instances.
- Parameters:
scheduledInstanceSet- Information about the Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceSet
PurchaseScheduledInstancesResponse.Builder scheduledInstanceSet(ScheduledInstance... scheduledInstanceSet)
Information about the Scheduled Instances.
- Parameters:
scheduledInstanceSet- Information about the Scheduled Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledInstanceSet
PurchaseScheduledInstancesResponse.Builder scheduledInstanceSet(Consumer<ScheduledInstance.Builder>... scheduledInstanceSet)
Information about the Scheduled Instances.
This is a convenience method that creates an instance of theScheduledInstance.Builderavoiding the need to create one manually viaScheduledInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scheduledInstanceSet(List.) - Parameters:
scheduledInstanceSet- a consumer that will call methods onScheduledInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#scheduledInstanceSet(java.util.Collection)
-
-