Class KeyVaultLongRunningOperation
- java.lang.Object
-
- com.azure.security.keyvault.administration.models.KeyVaultLongRunningOperation
-
- Direct Known Subclasses:
KeyVaultBackupOperation
,KeyVaultRestoreOperation
,KeyVaultSelectiveKeyRestoreOperation
public class KeyVaultLongRunningOperation extends Object
A class that contains the details of a long running operation.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultLongRunningOperation(String status, String statusDetails, KeyVaultAdministrationError error, String operationId, OffsetDateTime startTime, OffsetDateTime endTime)
Creates an object containing the details of aKeyVaultLongRunningOperation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getEndTime()
Get the end time of theKeyVaultLongRunningOperation
.KeyVaultAdministrationError
getError()
Get the error encountered, if any, during theKeyVaultLongRunningOperation
.String
getOperationId()
Get the identifier for theKeyVaultLongRunningOperation
.OffsetDateTime
getStartTime()
Get the start time of theKeyVaultLongRunningOperation
.String
getStatus()
Get the status of theKeyVaultLongRunningOperation
.String
getStatusDetails()
Get the status details of theKeyVaultLongRunningOperation
.
-
-
-
Constructor Detail
-
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 Detail
-
getStatus
public String getStatus()
Get the status of theKeyVaultLongRunningOperation
.- Returns:
- The backup status.
-
getStatusDetails
public String getStatusDetails()
Get the status details of theKeyVaultLongRunningOperation
.- Returns:
- The backup status details.
-
getOperationId
public String getOperationId()
Get the identifier for theKeyVaultLongRunningOperation
.- Returns:
- The operation ID.
-
getError
public KeyVaultAdministrationError getError()
Get the error encountered, if any, during theKeyVaultLongRunningOperation
.- Returns:
- The error.
-
getStartTime
public OffsetDateTime getStartTime()
Get the start time of theKeyVaultLongRunningOperation
.- Returns:
- The start time.
-
getEndTime
public OffsetDateTime getEndTime()
Get the end time of theKeyVaultLongRunningOperation
.- Returns:
- The end time.
-
-