Class Key
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.security.ssh.Key
-
@ApiType("SoftLayer_Security_Ssh_Key") public class Key extends Entity
- See Also:
- SoftLayer_Security_Ssh_Key
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Key.Mask
static interface
Key.Service
static interface
Key.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected Long
blockDeviceTemplateGroupCount
A count of the image template groups that are linked to an SSH key.protected List<Group>
blockDeviceTemplateGroups
The image template groups that are linked to an SSH key.protected GregorianCalendar
createDate
The date a ssh key was added.protected boolean
createDateSpecified
protected String
fingerprint
A short sequence of bytes used to authenticate or lookup a longer ssh key.protected boolean
fingerprintSpecified
protected Long
id
The ID of the ssh key record.protected boolean
idSpecified
protected String
key
The ssh key.protected boolean
keySpecified
protected String
label
A descriptive name used to identify a ssh key.protected boolean
labelSpecified
protected GregorianCalendar
modifyDate
The date a ssh key was last modified.protected boolean
modifyDateSpecified
protected String
notes
A small note about a ssh key to use at your discretion.protected boolean
notesSpecified
protected Long
softwarePasswordCount
A count of the OS root users that are linked to an SSH key.protected List<Password>
softwarePasswords
The OS root users that are linked to an SSH key.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Key()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
-
blockDeviceTemplateGroups
@ApiProperty protected List<Group> blockDeviceTemplateGroups
The image template groups that are linked to an SSH key.
-
softwarePasswords
@ApiProperty protected List<Password> softwarePasswords
The OS root users that are linked to an SSH key.
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date a ssh key was added.
This property is read only. Changes made will be silently ignored.
-
createDateSpecified
protected boolean createDateSpecified
-
fingerprint
@ApiProperty(canBeNullOrNotSet=true) protected String fingerprint
A short sequence of bytes used to authenticate or lookup a longer ssh key. This will automatically be generated upon adding or modifying the ssh key.
This property is read only. Changes made will be silently ignored.
-
fingerprintSpecified
protected boolean fingerprintSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The ID of the ssh key record.
-
idSpecified
protected boolean idSpecified
-
key
@ApiProperty(canBeNullOrNotSet=true) protected String key
The ssh key.
-
keySpecified
protected boolean keySpecified
-
label
@ApiProperty(canBeNullOrNotSet=true) protected String label
A descriptive name used to identify a ssh key.
-
labelSpecified
protected boolean labelSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date a ssh key was last modified.
This property is read only. Changes made will be silently ignored.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
notes
@ApiProperty(canBeNullOrNotSet=true) protected String notes
A small note about a ssh key to use at your discretion.
-
notesSpecified
protected boolean notesSpecified
-
blockDeviceTemplateGroupCount
@ApiProperty protected Long blockDeviceTemplateGroupCount
A count of the image template groups that are linked to an SSH key.
-
softwarePasswordCount
@ApiProperty protected Long softwarePasswordCount
A count of the OS root users that are linked to an SSH key.
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getFingerprint
public String getFingerprint()
-
setFingerprint
public void setFingerprint(String fingerprint)
-
isFingerprintSpecified
public boolean isFingerprintSpecified()
-
unsetFingerprint
public void unsetFingerprint()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
isKeySpecified
public boolean isKeySpecified()
-
unsetKey
public void unsetKey()
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
isLabelSpecified
public boolean isLabelSpecified()
-
unsetLabel
public void unsetLabel()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getNotes
public String getNotes()
-
setNotes
public void setNotes(String notes)
-
isNotesSpecified
public boolean isNotesSpecified()
-
unsetNotes
public void unsetNotes()
-
getBlockDeviceTemplateGroupCount
public Long getBlockDeviceTemplateGroupCount()
-
setBlockDeviceTemplateGroupCount
public void setBlockDeviceTemplateGroupCount(Long blockDeviceTemplateGroupCount)
-
getSoftwarePasswordCount
public Long getSoftwarePasswordCount()
-
setSoftwarePasswordCount
public void setSoftwarePasswordCount(Long softwarePasswordCount)
-
asService
public Key.Service asService(ApiClient client)
-
service
public static Key.Service service(ApiClient client)
-
service
public static Key.Service service(ApiClient client, Long id)
-
-