Class Credential
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.storage.Credential
-
@ApiType("SoftLayer_Network_Storage_Credential") public class Credential extends Entity
The SoftLayer_Network_Storage_Credential data type will give you an overview of the usernames that are currently attached to your storage device.- See Also:
- SoftLayer_Network_Storage_Credential
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Credential.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
This is the account that the storage credential is tied to.protected String
accountId
This is the account id associated with the volume.protected boolean
accountIdSpecified
protected GregorianCalendar
createDate
This is the data that the record was created in the table.protected boolean
createDateSpecified
protected Long
id
protected boolean
idSpecified
protected GregorianCalendar
modifyDate
This is the date that the record was last updated in the table.protected boolean
modifyDateSpecified
protected Long
nasCredentialTypeId
This is the id of the type of credential that this object represents.protected boolean
nasCredentialTypeIdSpecified
protected Host
networkStorageAllowedHosts
These are the SoftLayer_Network_Storage_Allowed_Host entries that this credential is assigned to.protected String
password
This is the password associated with the volume.protected boolean
passwordSpecified
protected Type
type
These are the types of storage that the credential can be assigned to.protected String
username
This is the username associated with the volume.protected boolean
usernameSpecified
protected Long
volumeCount
A count of these are the SoftLayer_Network_Storage volumes that this credential is assigned to.protected List<Storage>
volumes
These are the SoftLayer_Network_Storage volumes that this credential is assigned to.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Credential()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
This is the account that the storage credential is tied to.
-
networkStorageAllowedHosts
@ApiProperty protected Host networkStorageAllowedHosts
These are the SoftLayer_Network_Storage_Allowed_Host entries that this credential is assigned to.
-
type
@ApiProperty protected Type type
These are the types of storage that the credential can be assigned to.
-
volumes
@ApiProperty protected List<Storage> volumes
These are the SoftLayer_Network_Storage volumes that this credential is assigned to.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected String accountId
This is the account id associated with the volume.
-
accountIdSpecified
protected boolean accountIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
This is the data that the record was created in the table.
-
createDateSpecified
protected boolean createDateSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
-
idSpecified
protected boolean idSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
This is the date that the record was last updated in the table.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
nasCredentialTypeId
@ApiProperty(canBeNullOrNotSet=true) protected Long nasCredentialTypeId
This is the id of the type of credential that this object represents.
-
nasCredentialTypeIdSpecified
protected boolean nasCredentialTypeIdSpecified
-
password
@ApiProperty(canBeNullOrNotSet=true) protected String password
This is the password associated with the volume.
-
passwordSpecified
protected boolean passwordSpecified
-
username
@ApiProperty(canBeNullOrNotSet=true) protected String username
This is the username associated with the volume.
-
usernameSpecified
protected boolean usernameSpecified
-
volumeCount
@ApiProperty protected Long volumeCount
A count of these are the SoftLayer_Network_Storage volumes that this credential is assigned to.
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getNetworkStorageAllowedHosts
public Host getNetworkStorageAllowedHosts()
-
setNetworkStorageAllowedHosts
public void setNetworkStorageAllowedHosts(Host networkStorageAllowedHosts)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getAccountId
public String getAccountId()
-
setAccountId
public void setAccountId(String accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getNasCredentialTypeId
public Long getNasCredentialTypeId()
-
setNasCredentialTypeId
public void setNasCredentialTypeId(Long nasCredentialTypeId)
-
isNasCredentialTypeIdSpecified
public boolean isNasCredentialTypeIdSpecified()
-
unsetNasCredentialTypeId
public void unsetNasCredentialTypeId()
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
isPasswordSpecified
public boolean isPasswordSpecified()
-
unsetPassword
public void unsetPassword()
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
isUsernameSpecified
public boolean isUsernameSpecified()
-
unsetUsername
public void unsetUsername()
-
getVolumeCount
public Long getVolumeCount()
-
setVolumeCount
public void setVolumeCount(Long volumeCount)
-
-