Enum VolumeBackupSchedule.OffsetType

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<VolumeBackupSchedule.OffsetType>
    Enclosing class:
    VolumeBackupSchedule

    public static enum VolumeBackupSchedule.OffsetType
    extends Enum<VolumeBackupSchedule.OffsetType>
    implements BmcEnum
    Indicates how the offset is defined.

    If value is STRUCTURED, then hourOfDay, dayOfWeek, dayOfMonth, and month fields are used and offsetSeconds will be ignored in requests and users should ignore its value from the responses.

    hourOfDay is applicable for periods ONE_DAY, ONE_WEEK, ONE_MONTH and ONE_YEAR.

    dayOfWeek is applicable for period ONE_WEEK.

    dayOfMonth is applicable for periods ONE_MONTH and ONE_YEAR.

    'month' is applicable for period 'ONE_YEAR'.

    They will be ignored in the requests for inapplicable periods.

    If value is NUMERIC_SECONDS, then offsetSeconds will be used for both requests and responses and the structured fields will be ignored in the requests and users should ignore their values from the responses.

    For clients using older versions of Apis and not sending offsetType in their requests, the behaviour is just like NUMERIC_SECONDS.

    • Method Detail

      • values

        public static VolumeBackupSchedule.OffsetType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VolumeBackupSchedule.OffsetType c : VolumeBackupSchedule.OffsetType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VolumeBackupSchedule.OffsetType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null