Package com.vmware.nsx_policy.model
Class FileTransferAuthenticationScheme.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FileTransferAuthenticationScheme.Builder
-
- Enclosing class:
- FileTransferAuthenticationScheme
public static final class FileTransferAuthenticationScheme.Builder extends java.lang.Object
Builder class forFileTransferAuthenticationScheme
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFileTransferAuthenticationScheme
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileTransferAuthenticationScheme
build()
FileTransferAuthenticationScheme.Builder
setIdentityFile(java.lang.String identityFile)
SSH private key dataFileTransferAuthenticationScheme.Builder
setPassword(java.lang.String password)
Password to authenticate withFileTransferAuthenticationScheme.Builder
setSchemeName(java.lang.String schemeName)
Possible values are:FileTransferAuthenticationScheme.SCHEME_NAME_PASSWORD
FileTransferAuthenticationScheme.SCHEME_NAME_KEY
Authentication scheme nameFileTransferAuthenticationScheme.Builder
setUsername(java.lang.String username)
User name to authenticate with
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFileTransferAuthenticationScheme
.
-
-
Method Detail
-
setIdentityFile
public FileTransferAuthenticationScheme.Builder setIdentityFile(java.lang.String identityFile)
SSH private key data- Parameters:
identityFile
- New value for the property.
-
setPassword
public FileTransferAuthenticationScheme.Builder setPassword(java.lang.String password)
Password to authenticate with- Parameters:
password
- New value for the property.
-
setSchemeName
public FileTransferAuthenticationScheme.Builder setSchemeName(java.lang.String schemeName)
Possible values are: Authentication scheme name- Parameters:
schemeName
- New value for the property.
-
setUsername
public FileTransferAuthenticationScheme.Builder setUsername(java.lang.String username)
User name to authenticate with- Parameters:
username
- New value for the property.
-
build
public FileTransferAuthenticationScheme build()
-
-