Class SecretTask
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.SecretTask
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SecretTask extends com.ibm.cloud.sdk.core.service.model.GenericModelProperties of a Secret's task.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecretTask.StatusThe status of a task, could be one of: queued, processing, succeeded, failed.static interfaceSecretTask.TriggerInformation about what has initiated the task.static interfaceSecretTask.TypeThe type of the task, can be either "create_credentials" or "delete_credentials".
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedBy()Gets the createdBy.DategetCreationDate()Gets the creationDate.List<SecretTaskError>getErrors()Gets the errors.StringgetId()Gets the id.DategetLastUpdateDate()Gets the lastUpdateDate.StringgetSecretId()Gets the secretId.StringgetSecretVersionId()Gets the secretVersionId.StringgetStatus()Gets the status.StringgetTrigger()Gets the trigger.StringgetType()Gets the type.StringgetUpdatedBy()Gets the updatedBy.
-
-
-
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
-
-