Class ComputeStartStopSchedule


  • public final class ComputeStartStopSchedule
    extends Object
    Compute start stop schedule properties.
    • Constructor Detail

      • ComputeStartStopSchedule

        public ComputeStartStopSchedule()
    • Method Detail

      • id

        public String id()
        Get the id property: Schedule id.
        Returns:
        the id value.
      • provisioningStatus

        public ProvisioningStatus provisioningStatus()
        Get the provisioningStatus property: The current deployment state of schedule.
        Returns:
        the provisioningStatus value.
      • action

        public ComputePowerAction action()
        Get the action property: The compute power action.
        Returns:
        the action value.
      • withAction

        public ComputeStartStopSchedule withAction​(ComputePowerAction action)
        Set the action property: The compute power action.
        Parameters:
        action - the action value to set.
        Returns:
        the ComputeStartStopSchedule object itself.
      • schedule

        public ScheduleBase schedule()
        Get the schedule property: Base definition of a schedule.
        Returns:
        the schedule value.
      • withSchedule

        public ComputeStartStopSchedule withSchedule​(ScheduleBase schedule)
        Set the schedule property: Base definition of a schedule.
        Parameters:
        schedule - the schedule value to set.
        Returns:
        the ComputeStartStopSchedule object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.