Class Data
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.network.authentication.Data
@ApiType("SoftLayer_Container_Network_Authentication_Data") public class Data extends Entity
This object holds authentication data to a server.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classData.Mask -
Field Summary
Fields Modifier and Type Field Description protected StringhostThe name of a hostprotected booleanhostSpecifiedprotected StringpasswordThe authentication passwordprotected booleanpasswordSpecifiedprotected LongportThe port numberprotected booleanportSpecifiedprotected StringtypeThe type of network protocol.protected booleantypeSpecifiedprotected StringusernameThe authentication usernameprotected booleanusernameSpecified -
Constructor Summary
Constructors Constructor Description Data() -
Method Summary
Modifier and Type Method Description StringgetHost()StringgetPassword()LonggetPort()StringgetType()StringgetUsername()booleanisHostSpecified()booleanisPasswordSpecified()booleanisPortSpecified()booleanisTypeSpecified()booleanisUsernameSpecified()voidsetHost(String host)voidsetPassword(String password)voidsetPort(Long port)voidsetType(String type)voidsetUsername(String username)voidunsetHost()voidunsetPassword()voidunsetPort()voidunsetType()voidunsetUsername()
-
Field Details
-
host
The name of a host -
hostSpecified
protected boolean hostSpecified -
password
The authentication password -
passwordSpecified
protected boolean passwordSpecified -
port
The port number -
portSpecified
protected boolean portSpecified -
type
The type of network protocol. This can be ftp, ssh and so on. -
typeSpecified
protected boolean typeSpecified -
username
The authentication username -
usernameSpecified
protected boolean usernameSpecified
-
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
getHost
-
setHost
-
isHostSpecified
public boolean isHostSpecified() -
unsetHost
public void unsetHost() -
getPassword
-
setPassword
-
isPasswordSpecified
public boolean isPasswordSpecified() -
unsetPassword
public void unsetPassword() -
getPort
-
setPort
-
isPortSpecified
public boolean isPortSpecified() -
unsetPort
public void unsetPort() -
getType
-
setType
-
isTypeSpecified
public boolean isTypeSpecified() -
unsetType
public void unsetType() -
getUsername
-
setUsername
-
isUsernameSpecified
public boolean isUsernameSpecified() -
unsetUsername
public void unsetUsername()
-