Package com.vmware.nsx_policy.model
Class RemoteFileServer.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RemoteFileServer.Builder
-
- Enclosing class:
- RemoteFileServer
public static final class RemoteFileServer.Builder extends java.lang.Object
Builder class forRemoteFileServer
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRemoteFileServer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteFileServer
build()
RemoteFileServer.Builder
setDirectoryPath(java.lang.String directoryPath)
Remote server directory to copy bundle files toRemoteFileServer.Builder
setPort(java.lang.Long port)
Server port format: int64RemoteFileServer.Builder
setProtocol(FileTransferProtocol protocol)
RemoteFileServer.Builder
setServer(java.lang.String server)
Remote server hostname or IP address format: hostname-or-ip
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRemoteFileServer
.
-
-
Method Detail
-
setDirectoryPath
public RemoteFileServer.Builder setDirectoryPath(java.lang.String directoryPath)
Remote server directory to copy bundle files to- Parameters:
directoryPath
- New value for the property.
-
setPort
public RemoteFileServer.Builder setPort(java.lang.Long port)
Server port format: int64- Parameters:
port
- New value for the property.
-
setProtocol
public RemoteFileServer.Builder setProtocol(FileTransferProtocol protocol)
- Parameters:
protocol
- New value for the property.
-
setServer
public RemoteFileServer.Builder setServer(java.lang.String server)
Remote server hostname or IP address format: hostname-or-ip- Parameters:
server
- New value for the property.
-
build
public RemoteFileServer build()
-
-