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.ObjectBuilder 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 FileTransferAuthenticationSchemebuild()FileTransferAuthenticationScheme.BuildersetIdentityFile(java.lang.String identityFile)SSH private key dataFileTransferAuthenticationScheme.BuildersetPassword(java.lang.String password)Password to authenticate withFileTransferAuthenticationScheme.BuildersetSchemeName(java.lang.String schemeName)Possible values are:FileTransferAuthenticationScheme.SCHEME_NAME_PASSWORDFileTransferAuthenticationScheme.SCHEME_NAME_KEYAuthentication scheme nameFileTransferAuthenticationScheme.BuildersetUsername(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()
-
-