Interface ScheduledInstance.Builder

    • Method Detail

      • availabilityZone

        ScheduledInstance.Builder availabilityZone​(String availabilityZone)

        The Availability Zone.

        Parameters:
        availabilityZone - The Availability Zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createDate

        ScheduledInstance.Builder createDate​(Instant createDate)

        The date when the Scheduled Instance was purchased.

        Parameters:
        createDate - The date when the Scheduled Instance was purchased.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hourlyPrice

        ScheduledInstance.Builder hourlyPrice​(String hourlyPrice)

        The hourly price for a single instance.

        Parameters:
        hourlyPrice - The hourly price for a single instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceCount

        ScheduledInstance.Builder instanceCount​(Integer instanceCount)

        The number of instances.

        Parameters:
        instanceCount - The number of instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        ScheduledInstance.Builder instanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkPlatform

        ScheduledInstance.Builder networkPlatform​(String networkPlatform)

        The network platform.

        Parameters:
        networkPlatform - The network platform.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextSlotStartTime

        ScheduledInstance.Builder nextSlotStartTime​(Instant nextSlotStartTime)

        The time for the next schedule to start.

        Parameters:
        nextSlotStartTime - The time for the next schedule to start.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platform

        ScheduledInstance.Builder platform​(String platform)

        The platform (Linux/UNIX or Windows).

        Parameters:
        platform - The platform (Linux/UNIX or Windows).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • previousSlotEndTime

        ScheduledInstance.Builder previousSlotEndTime​(Instant previousSlotEndTime)

        The time that the previous schedule ended or will end.

        Parameters:
        previousSlotEndTime - The time that the previous schedule ended or will end.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduledInstanceId

        ScheduledInstance.Builder scheduledInstanceId​(String scheduledInstanceId)

        The Scheduled Instance ID.

        Parameters:
        scheduledInstanceId - The Scheduled Instance ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slotDurationInHours

        ScheduledInstance.Builder slotDurationInHours​(Integer slotDurationInHours)

        The number of hours in the schedule.

        Parameters:
        slotDurationInHours - The number of hours in the schedule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • termEndDate

        ScheduledInstance.Builder termEndDate​(Instant termEndDate)

        The end date for the Scheduled Instance.

        Parameters:
        termEndDate - The end date for the Scheduled Instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • termStartDate

        ScheduledInstance.Builder termStartDate​(Instant termStartDate)

        The start date for the Scheduled Instance.

        Parameters:
        termStartDate - The start date for the Scheduled Instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalScheduledInstanceHours

        ScheduledInstance.Builder totalScheduledInstanceHours​(Integer totalScheduledInstanceHours)

        The total number of hours for a single instance for the entire term.

        Parameters:
        totalScheduledInstanceHours - The total number of hours for a single instance for the entire term.
        Returns:
        Returns a reference to this object so that method calls can be chained together.