Class ScheduledInstance

    • Constructor Detail

      • ScheduledInstance

        public ScheduledInstance()
    • Method Detail

      • setScheduledInstanceId

        public void setScheduledInstanceId​(String scheduledInstanceId)

        The Scheduled Instance ID.

        Parameters:
        scheduledInstanceId - The Scheduled Instance ID.
      • getScheduledInstanceId

        public String getScheduledInstanceId()

        The Scheduled Instance ID.

        Returns:
        The Scheduled Instance ID.
      • withScheduledInstanceId

        public ScheduledInstance withScheduledInstanceId​(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.
      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type.

        Parameters:
        instanceType - The instance type.
      • getInstanceType

        public String getInstanceType()

        The instance type.

        Returns:
        The instance type.
      • withInstanceType

        public ScheduledInstance withInstanceType​(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.
      • setPlatform

        public void setPlatform​(String platform)

        The platform (Linux/UNIX or Windows).

        Parameters:
        platform - The platform (Linux/UNIX or Windows).
      • getPlatform

        public String getPlatform()

        The platform (Linux/UNIX or Windows).

        Returns:
        The platform (Linux/UNIX or Windows).
      • withPlatform

        public ScheduledInstance withPlatform​(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.
      • setNetworkPlatform

        public void setNetworkPlatform​(String networkPlatform)

        The network platform (EC2-Classic or EC2-VPC).

        Parameters:
        networkPlatform - The network platform (EC2-Classic or EC2-VPC).
      • getNetworkPlatform

        public String getNetworkPlatform()

        The network platform (EC2-Classic or EC2-VPC).

        Returns:
        The network platform (EC2-Classic or EC2-VPC).
      • withNetworkPlatform

        public ScheduledInstance withNetworkPlatform​(String networkPlatform)

        The network platform (EC2-Classic or EC2-VPC).

        Parameters:
        networkPlatform - The network platform (EC2-Classic or EC2-VPC).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)

        The Availability Zone.

        Parameters:
        availabilityZone - The Availability Zone.
      • getAvailabilityZone

        public String getAvailabilityZone()

        The Availability Zone.

        Returns:
        The Availability Zone.
      • withAvailabilityZone

        public ScheduledInstance withAvailabilityZone​(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.
      • setSlotDurationInHours

        public void setSlotDurationInHours​(Integer slotDurationInHours)

        The number of hours in the schedule.

        Parameters:
        slotDurationInHours - The number of hours in the schedule.
      • getSlotDurationInHours

        public Integer getSlotDurationInHours()

        The number of hours in the schedule.

        Returns:
        The number of hours in the schedule.
      • withSlotDurationInHours

        public ScheduledInstance withSlotDurationInHours​(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.
      • setRecurrence

        public void setRecurrence​(ScheduledInstanceRecurrence recurrence)

        The schedule recurrence.

        Parameters:
        recurrence - The schedule recurrence.
      • withRecurrence

        public ScheduledInstance withRecurrence​(ScheduledInstanceRecurrence recurrence)

        The schedule recurrence.

        Parameters:
        recurrence - The schedule recurrence.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPreviousSlotEndTime

        public void setPreviousSlotEndTime​(Date previousSlotEndTime)

        The time that the previous schedule ended or will end.

        Parameters:
        previousSlotEndTime - The time that the previous schedule ended or will end.
      • getPreviousSlotEndTime

        public Date getPreviousSlotEndTime()

        The time that the previous schedule ended or will end.

        Returns:
        The time that the previous schedule ended or will end.
      • withPreviousSlotEndTime

        public ScheduledInstance withPreviousSlotEndTime​(Date 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.
      • setNextSlotStartTime

        public void setNextSlotStartTime​(Date nextSlotStartTime)

        The time for the next schedule to start.

        Parameters:
        nextSlotStartTime - The time for the next schedule to start.
      • getNextSlotStartTime

        public Date getNextSlotStartTime()

        The time for the next schedule to start.

        Returns:
        The time for the next schedule to start.
      • withNextSlotStartTime

        public ScheduledInstance withNextSlotStartTime​(Date 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.
      • setHourlyPrice

        public void setHourlyPrice​(String hourlyPrice)

        The hourly price for a single instance.

        Parameters:
        hourlyPrice - The hourly price for a single instance.
      • getHourlyPrice

        public String getHourlyPrice()

        The hourly price for a single instance.

        Returns:
        The hourly price for a single instance.
      • withHourlyPrice

        public ScheduledInstance withHourlyPrice​(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.
      • setTotalScheduledInstanceHours

        public void setTotalScheduledInstanceHours​(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.
      • getTotalScheduledInstanceHours

        public Integer getTotalScheduledInstanceHours()

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

        Returns:
        The total number of hours for a single instance for the entire term.
      • withTotalScheduledInstanceHours

        public ScheduledInstance withTotalScheduledInstanceHours​(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.
      • setInstanceCount

        public void setInstanceCount​(Integer instanceCount)

        The number of instances.

        Parameters:
        instanceCount - The number of instances.
      • getInstanceCount

        public Integer getInstanceCount()

        The number of instances.

        Returns:
        The number of instances.
      • withInstanceCount

        public ScheduledInstance withInstanceCount​(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.
      • setTermStartDate

        public void setTermStartDate​(Date termStartDate)

        The start date for the Scheduled Instance.

        Parameters:
        termStartDate - The start date for the Scheduled Instance.
      • getTermStartDate

        public Date getTermStartDate()

        The start date for the Scheduled Instance.

        Returns:
        The start date for the Scheduled Instance.
      • withTermStartDate

        public ScheduledInstance withTermStartDate​(Date 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.
      • setTermEndDate

        public void setTermEndDate​(Date termEndDate)

        The end date for the Scheduled Instance.

        Parameters:
        termEndDate - The end date for the Scheduled Instance.
      • getTermEndDate

        public Date getTermEndDate()

        The end date for the Scheduled Instance.

        Returns:
        The end date for the Scheduled Instance.
      • withTermEndDate

        public ScheduledInstance withTermEndDate​(Date 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.
      • setCreateDate

        public void setCreateDate​(Date createDate)

        The date when the Scheduled Instance was purchased.

        Parameters:
        createDate - The date when the Scheduled Instance was purchased.
      • getCreateDate

        public Date getCreateDate()

        The date when the Scheduled Instance was purchased.

        Returns:
        The date when the Scheduled Instance was purchased.
      • withCreateDate

        public ScheduledInstance withCreateDate​(Date 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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object