public static interface ScheduledInstance.Builder extends CopyableBuilder<ScheduledInstance.Builder,ScheduledInstance>
| Modifier and Type | Method and Description |
|---|---|
ScheduledInstance.Builder |
availabilityZone(String availabilityZone)
The Availability Zone.
|
ScheduledInstance.Builder |
createDate(Instant createDate)
The date when the Scheduled Instance was purchased.
|
ScheduledInstance.Builder |
hourlyPrice(String hourlyPrice)
The hourly price for a single instance.
|
ScheduledInstance.Builder |
instanceCount(Integer instanceCount)
The number of instances.
|
ScheduledInstance.Builder |
instanceType(String instanceType)
The instance type.
|
ScheduledInstance.Builder |
networkPlatform(String networkPlatform)
The network platform (
EC2-Classic or EC2-VPC). |
ScheduledInstance.Builder |
nextSlotStartTime(Instant nextSlotStartTime)
The time for the next schedule to start.
|
ScheduledInstance.Builder |
platform(String platform)
The platform (
Linux/UNIX or Windows). |
ScheduledInstance.Builder |
previousSlotEndTime(Instant previousSlotEndTime)
The time that the previous schedule ended or will end.
|
default ScheduledInstance.Builder |
recurrence(Consumer<ScheduledInstanceRecurrence.Builder> recurrence)
The schedule recurrence.
|
ScheduledInstance.Builder |
recurrence(ScheduledInstanceRecurrence recurrence)
The schedule recurrence.
|
ScheduledInstance.Builder |
scheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
|
ScheduledInstance.Builder |
slotDurationInHours(Integer slotDurationInHours)
The number of hours in the schedule.
|
ScheduledInstance.Builder |
termEndDate(Instant termEndDate)
The end date for the Scheduled Instance.
|
ScheduledInstance.Builder |
termStartDate(Instant termStartDate)
The start date for the Scheduled Instance.
|
ScheduledInstance.Builder |
totalScheduledInstanceHours(Integer totalScheduledInstanceHours)
The total number of hours for a single instance for the entire term.
|
copyapply, buildScheduledInstance.Builder availabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone - The Availability Zone.ScheduledInstance.Builder createDate(Instant createDate)
The date when the Scheduled Instance was purchased.
createDate - The date when the Scheduled Instance was purchased.ScheduledInstance.Builder hourlyPrice(String hourlyPrice)
The hourly price for a single instance.
hourlyPrice - The hourly price for a single instance.ScheduledInstance.Builder instanceCount(Integer instanceCount)
The number of instances.
instanceCount - The number of instances.ScheduledInstance.Builder instanceType(String instanceType)
The instance type.
instanceType - The instance type.ScheduledInstance.Builder networkPlatform(String networkPlatform)
The network platform (EC2-Classic or EC2-VPC).
networkPlatform - The network platform (EC2-Classic or EC2-VPC).ScheduledInstance.Builder nextSlotStartTime(Instant nextSlotStartTime)
The time for the next schedule to start.
nextSlotStartTime - The time for the next schedule to start.ScheduledInstance.Builder platform(String platform)
The platform (Linux/UNIX or Windows).
platform - The platform (Linux/UNIX or Windows).ScheduledInstance.Builder previousSlotEndTime(Instant previousSlotEndTime)
The time that the previous schedule ended or will end.
previousSlotEndTime - The time that the previous schedule ended or will end.ScheduledInstance.Builder recurrence(ScheduledInstanceRecurrence recurrence)
The schedule recurrence.
recurrence - The schedule recurrence.default ScheduledInstance.Builder recurrence(Consumer<ScheduledInstanceRecurrence.Builder> recurrence)
The schedule recurrence.
This is a convenience that creates an instance of theScheduledInstanceRecurrence.Builder avoiding
the need to create one manually via ScheduledInstanceRecurrence.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to recurrence(ScheduledInstanceRecurrence).recurrence - a consumer that will call methods on ScheduledInstanceRecurrence.Builderrecurrence(ScheduledInstanceRecurrence)ScheduledInstance.Builder scheduledInstanceId(String scheduledInstanceId)
The Scheduled Instance ID.
scheduledInstanceId - The Scheduled Instance ID.ScheduledInstance.Builder slotDurationInHours(Integer slotDurationInHours)
The number of hours in the schedule.
slotDurationInHours - The number of hours in the schedule.ScheduledInstance.Builder termEndDate(Instant termEndDate)
The end date for the Scheduled Instance.
termEndDate - The end date for the Scheduled Instance.ScheduledInstance.Builder termStartDate(Instant termStartDate)
The start date for the Scheduled Instance.
termStartDate - The start date for the Scheduled Instance.ScheduledInstance.Builder totalScheduledInstanceHours(Integer totalScheduledInstanceHours)
The total number of hours for a single instance for the entire term.
totalScheduledInstanceHours - The total number of hours for a single instance for the entire term.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.