Class KeyVaultLongRunningOperation
java.lang.Object
com.azure.security.keyvault.administration.models.KeyVaultLongRunningOperation
- Direct Known Subclasses:
KeyVaultBackupOperation
,KeyVaultRestoreOperation
,KeyVaultSelectiveKeyRestoreOperation
A class that contains the details of a long running operation.
-
Constructor Summary
ConstructorDescriptionKeyVaultLongRunningOperation
(String status, String statusDetails, KeyVaultAdministrationError error, String operationId, OffsetDateTime startTime, OffsetDateTime endTime) Creates an object containing the details of aKeyVaultLongRunningOperation
. -
Method Summary
Modifier and TypeMethodDescriptionGet the end time of theKeyVaultLongRunningOperation
.getError()
Get the error encountered, if any, during theKeyVaultLongRunningOperation
.Get the identifier for theKeyVaultLongRunningOperation
.Get the start time of theKeyVaultLongRunningOperation
.Get the status of theKeyVaultLongRunningOperation
.Get the status details of theKeyVaultLongRunningOperation
.
-
Constructor Details
-
KeyVaultLongRunningOperation
public KeyVaultLongRunningOperation(String status, String statusDetails, KeyVaultAdministrationError error, String operationId, OffsetDateTime startTime, OffsetDateTime endTime) Creates an object containing the details of aKeyVaultLongRunningOperation
.- Parameters:
status
- Status of theKeyVaultLongRunningOperation
.statusDetails
- The status details of theKeyVaultLongRunningOperation
.operationId
- Identifier for the fullKeyVaultLongRunningOperation
.error
- Error encountered, if any, during theKeyVaultLongRunningOperation
.startTime
- The start time of theKeyVaultLongRunningOperation
.endTime
- The end time of theKeyVaultLongRunningOperation
.
-
-
Method Details
-
getStatus
Get the status of theKeyVaultLongRunningOperation
.- Returns:
- The backup status.
-
getStatusDetails
Get the status details of theKeyVaultLongRunningOperation
.- Returns:
- The backup status details.
-
getOperationId
Get the identifier for theKeyVaultLongRunningOperation
.- Returns:
- The operation ID.
-
getError
Get the error encountered, if any, during theKeyVaultLongRunningOperation
.- Returns:
- The error.
-
getStartTime
Get the start time of theKeyVaultLongRunningOperation
.- Returns:
- The start time.
-
getEndTime
Get the end time of theKeyVaultLongRunningOperation
.- Returns:
- The end time.
-