Enum SecretContentDetails.Stage

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<SecretContentDetails.Stage>
    Enclosing class:
    SecretContentDetails

    public static enum SecretContentDetails.Stage
    extends Enum<SecretContentDetails.Stage>
    implements BmcEnum
    The rotation state of the secret content.

    The default is CURRENT, meaning that the secret is currently in use. A secret version that you mark as PENDING is staged and available for use, but you don’t yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as PENDING if you haven’t yet updated the secret on the target system. When creating a secret, only the value CURRENT is applicable, although the value LATEST is also automatically applied. When updating a secret, you can specify a version’s rotation state as either CURRENT or PENDING.

    • Method Detail

      • values

        public static SecretContentDetails.Stage[] 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 (SecretContentDetails.Stage c : SecretContentDetails.Stage.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SecretContentDetails.Stage 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