public static final class ClusterRestoreStatus.Builder
extends java.lang.Object
ClusterRestoreStatus
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ClusterRestoreStatus . |
Modifier and Type | Method and Description |
---|---|
ClusterRestoreStatus |
build() |
ClusterRestoreStatus.Builder |
setAllowedActions(java.util.List<java.lang.String> allowedActions)
List of actions that are allowed.
|
ClusterRestoreStatus.Builder |
setBackupTimestamp(java.lang.Long backupTimestamp)
Timestamp when backup was initiated in epoch millisecond format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterRestoreStatus.Builder |
setEndpoints(java.util.List<ResourceLink> endpoints)
The list of allowed endpoints, based on the current state of the restore process
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterRestoreStatus.Builder |
setId(java.lang.String id)
Unique id for backup request
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterRestoreStatus.Builder |
setInstructions(java.util.List<InstructionInfo> instructions)
Instructions for users to reconcile Restore operations
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterRestoreStatus.Builder |
setNotAllowedActions(java.util.List<java.lang.String> notAllowedActions)
Possible values are:
ClusterRestoreStatus.NOT_ALLOWED_ACTIONS_UPDATES
List of actions that are not allowed
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
ClusterRestoreStatus.Builder |
setRestoreEndTime(java.lang.Long restoreEndTime)
Timestamp when restore was completed in epoch millisecond format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterRestoreStatus.Builder |
setRestoreStartTime(java.lang.Long restoreStartTime)
Timestamp when restore was started in epoch millisecond format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterRestoreStatus.Builder |
setStatus(GlobalRestoreStatus status) |
ClusterRestoreStatus.Builder |
setStep(RestoreStep step) |
ClusterRestoreStatus.Builder |
setTotalSteps(java.lang.Long totalSteps)
Total number of steps in the entire restore process format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
ClusterRestoreStatus
.public ClusterRestoreStatus.Builder setAllowedActions(java.util.List<java.lang.String> allowedActions)
allowedActions
- New value for the property.public ClusterRestoreStatus.Builder setBackupTimestamp(java.lang.Long backupTimestamp)
backupTimestamp
- New value for the property.public ClusterRestoreStatus.Builder setEndpoints(java.util.List<ResourceLink> endpoints)
endpoints
- New value for the property.public ClusterRestoreStatus.Builder setId(java.lang.String id)
id
- New value for the property.public ClusterRestoreStatus.Builder setInstructions(java.util.List<InstructionInfo> instructions)
instructions
- New value for the property.public ClusterRestoreStatus.Builder setNotAllowedActions(java.util.List<java.lang.String> notAllowedActions)
notAllowedActions
- New value for the property.public ClusterRestoreStatus.Builder setRestoreEndTime(java.lang.Long restoreEndTime)
restoreEndTime
- New value for the property.public ClusterRestoreStatus.Builder setRestoreStartTime(java.lang.Long restoreStartTime)
restoreStartTime
- New value for the property.public ClusterRestoreStatus.Builder setStatus(GlobalRestoreStatus status)
status
- New value for the property.public ClusterRestoreStatus.Builder setStep(RestoreStep step)
step
- New value for the property.public ClusterRestoreStatus.Builder setTotalSteps(java.lang.Long totalSteps)
totalSteps
- New value for the property.public ClusterRestoreStatus build()