Package com.vmware.nsx_policy.model
Class InitiateClusterRestoreRequest.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.InitiateClusterRestoreRequest.Builder
-
- Enclosing class:
- InitiateClusterRestoreRequest
public static final class InitiateClusterRestoreRequest.Builder extends java.lang.Object
Builder class forInitiateClusterRestoreRequest
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofInitiateClusterRestoreRequest
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InitiateClusterRestoreRequest
build()
InitiateClusterRestoreRequest.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.InitiateClusterRestoreRequest.Builder
setIpv6Address(java.lang.String ipv6Address)
IPv6 address or FQDNv6 of the node which would be used for the restoration.InitiateClusterRestoreRequest.Builder
setNodeId(java.lang.String nodeId)
Unique id of the backed-up configuration from which the appliance will be restored This property may be present in responses from the server, but if it is present in a request to server it will be ignored.InitiateClusterRestoreRequest.Builder
setTimestamp(java.lang.Long timestamp)
Timestamp of the backed-up configuration from which the appliance will be restored 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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofInitiateClusterRestoreRequest
.
-
-
Method Detail
-
setIpAddress
public InitiateClusterRestoreRequest.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.- Parameters:
ipAddress
- New value for the property.
-
setIpv6Address
public InitiateClusterRestoreRequest.Builder setIpv6Address(java.lang.String ipv6Address)
IPv6 address or FQDNv6 of the node which would be used for the restoration. This should be same as the one on which 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.- Parameters:
ipv6Address
- New value for the property.
-
setNodeId
public InitiateClusterRestoreRequest.Builder setNodeId(java.lang.String nodeId)
Unique id of the backed-up configuration from which the appliance will be restored This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
nodeId
- New value for the property.
-
setTimestamp
public InitiateClusterRestoreRequest.Builder setTimestamp(java.lang.Long timestamp)
Timestamp of the backed-up configuration from which the appliance will be restored 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.- Parameters:
timestamp
- New value for the property.
-
build
public InitiateClusterRestoreRequest build()
-
-