Class SecretTask

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

    public class SecretTask
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Properties of a Secret's task.
    • Method Detail

      • getId

        public String getId()
        Gets the id. A Secret Manager task identifier.
        Returns:
        the id
      • getCreatedBy

        public String getCreatedBy()
        Gets the createdBy. The unique identifier that is associated with the entity that created the secret.
        Returns:
        the createdBy
      • getCreationDate

        public Date getCreationDate()
        Gets the creationDate. The date when the resource was created. The date format follows `RFC 3339`.
        Returns:
        the creationDate
      • getLastUpdateDate

        public Date getLastUpdateDate()
        Gets the lastUpdateDate. The date when a resource was modified. The date format follows `RFC 3339`.
        Returns:
        the lastUpdateDate
      • getUpdatedBy

        public String getUpdatedBy()
        Gets the updatedBy. The unique identifier that is associated with the entity that updated the resource.
        Returns:
        the updatedBy
      • getType

        public String getType()
        Gets the type. The type of the task, can be either "create_credentials" or "delete_credentials".
        Returns:
        the type
      • getStatus

        public String getStatus()
        Gets the status. The status of a task, could be one of: queued, processing, succeeded, failed.
        Returns:
        the status
      • getTrigger

        public String getTrigger()
        Gets the trigger. Information about what has initiated the task.
        Returns:
        the trigger
      • getSecretId

        public String getSecretId()
        Gets the secretId. A UUID identifier.
        Returns:
        the secretId
      • getSecretVersionId

        public String getSecretVersionId()
        Gets the secretVersionId. A UUID identifier.
        Returns:
        the secretVersionId
      • getErrors

        public List<SecretTaskError> getErrors()
        Gets the errors. A collection of errors.
        Returns:
        the errors