Class CreateSecretVersionLocksBulkOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class CreateSecretVersionLocksBulkOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createSecretVersionLocksBulk options.
    • Method Detail

      • secretId

        public String secretId()
        Gets the secretId. The UUID that uniquely identifies your secret.
        Returns:
        the secretId
      • id

        public String id()
        Gets the id. The UUID that uniquely identifies your secret version. You can use the `current` or `previous` aliases to refer to the current or previous secret version.
        Returns:
        the id
      • locks

        public List<SecretLockPrototype> locks()
        Gets the locks. The locks data to be attached to a secret version.
        Returns:
        the locks
      • mode

        public String mode()
        Gets the mode. An optional lock mode. When you create a lock, you can set one of the following modes to clear any matching locks on a secret version. - `remove_previous`: Removes any other locks with matching names if they are found in the previous version of the secret. - `remove_previous_and_delete`: Completes the same action as `remove_previous`, but also permanently deletes the data of the previous secret version if it doesn't have any locks. Not supported for custom credentials secret type.
        Returns:
        the mode