Class Hook
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.provisioning.Hook
@ApiType("SoftLayer_Provisioning_Hook") public class Hook extends Entity
The SoftLayer_Provisioning_Hook contains all the information needed to add a hook into a server/Virtual provision and os reload.
- See Also:
- SoftLayer_Provisioning_Hook
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Hook.Mask
static interface
Hook.Service
static interface
Hook.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected Long
accountId
The ID of the account the script belongs to.protected boolean
accountIdSpecified
protected GregorianCalendar
createDate
protected boolean
createDateSpecified
protected Type
hookType
protected Long
id
protected boolean
idSpecified
protected GregorianCalendar
modifyDate
protected boolean
modifyDateSpecified
protected String
name
The name of the hook.protected boolean
nameSpecified
protected Long
typeId
The ID of the type of hook the script is identified as.protected boolean
typeIdSpecified
protected String
uri
The endpoint that the script will be downloaded from (USERNAME AND PASSWORD SHOULD BE INCLUDED HERE).protected boolean
uriSpecified
-
Constructor Summary
Constructors Constructor Description Hook()
-
Method Summary
-
Field Details
-
account
-
hookType
-
accountId
The ID of the account the script belongs to. -
accountIdSpecified
protected boolean accountIdSpecified -
createDate
-
createDateSpecified
protected boolean createDateSpecified -
id
-
idSpecified
protected boolean idSpecified -
modifyDate
-
modifyDateSpecified
protected boolean modifyDateSpecified -
name
The name of the hook. -
nameSpecified
protected boolean nameSpecified -
typeId
The ID of the type of hook the script is identified as. Currently only CUSTOMER_PROVIDED_HOOK has been implemented. -
typeIdSpecified
protected boolean typeIdSpecified -
uri
The endpoint that the script will be downloaded from (USERNAME AND PASSWORD SHOULD BE INCLUDED HERE). If the endpoint is HTTP, the script will only be downloaded. If the endpoint is HTTPS, the script will be downloaded and executed. -
uriSpecified
protected boolean uriSpecified
-
-
Constructor Details
-
Hook
public Hook()
-
-
Method Details
-
getAccount
-
setAccount
-
getHookType
-
setHookType
-
getAccountId
-
setAccountId
-
isAccountIdSpecified
public boolean isAccountIdSpecified() -
unsetAccountId
public void unsetAccountId() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getTypeId
-
setTypeId
-
isTypeIdSpecified
public boolean isTypeIdSpecified() -
unsetTypeId
public void unsetTypeId() -
getUri
-
setUri
-
isUriSpecified
public boolean isUriSpecified() -
unsetUri
public void unsetUri() -
asService
-
service
-
service
-