public static final class ClusterBackupInfo.Builder
extends java.lang.Object
ClusterBackupInfo.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ClusterBackupInfo. |
| Modifier and Type | Method and Description |
|---|---|
ClusterBackupInfo |
build() |
ClusterBackupInfo.Builder |
setIpAddress(java.lang.String ipAddress)
IP address or FQDN of the node from which the backup was taken format:
hostname-or-ip
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterBackupInfo.Builder |
setNodeId(java.lang.String nodeId)
ID of the node from which the backup was taken
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ClusterBackupInfo.Builder |
setRestoreType(java.util.List<java.lang.String> restoreType)
Possible values are:
ClusterBackupInfo.RESTORE_TYPE_REGULAR_RESTORE
ClusterBackupInfo.RESTORE_TYPE_POLICY_ONLY_RESTORE
Type of restore 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. |
ClusterBackupInfo.Builder |
setTimestamp(java.lang.Long timestamp)
timestamp of the cluster backup file 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()
ClusterBackupInfo.public ClusterBackupInfo.Builder setIpAddress(java.lang.String ipAddress)
ipAddress - New value for the property.public ClusterBackupInfo.Builder setNodeId(java.lang.String nodeId)
nodeId - New value for the property.public ClusterBackupInfo.Builder setRestoreType(java.util.List<java.lang.String> restoreType)
restoreType - New value for the property.public ClusterBackupInfo.Builder setTimestamp(java.lang.Long timestamp)
timestamp - New value for the property.public ClusterBackupInfo build()