Class Trigger
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.scale.policy.Trigger
-
- Direct Known Subclasses:
OneTime
,Repeating
,ResourceUse
@ApiType("SoftLayer_Scale_Policy_Trigger") public class Trigger extends Entity
A trigger to determine when a policy's actions should be fired.- See Also:
- SoftLayer_Scale_Policy_Trigger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Trigger.Mask
static interface
Trigger.Service
A trigger to determine when a policy's actions should be fired.static interface
Trigger.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
createDate
When this trigger was created.protected boolean
createDateSpecified
protected Boolean
deleteFlag
When set and true any edit that happens on this object, be it calling edit on this directly or setting as a child while editing a parent object, will end up being a deletion.protected boolean
deleteFlagSpecified
protected Long
id
A trigger's internal identifier.protected boolean
idSpecified
protected GregorianCalendar
modifyDate
When this trigger was last modified.protected boolean
modifyDateSpecified
protected Policy
scalePolicy
The policy this trigger is on.protected Long
scalePolicyId
The policy this trigger is on.protected boolean
scalePolicyIdSpecified
protected Type
type
The type of trigger.protected Long
typeId
The type of trigger this is.protected boolean
typeIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Trigger()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
scalePolicy
@ApiProperty protected Policy scalePolicy
The policy this trigger is on.
-
type
@ApiProperty protected Type type
The type of trigger.
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
When this trigger was created.
-
createDateSpecified
protected boolean createDateSpecified
-
deleteFlag
@ApiProperty(canBeNullOrNotSet=true) protected Boolean deleteFlag
When set and true any edit that happens on this object, be it calling edit on this directly or setting as a child while editing a parent object, will end up being a deletion.
-
deleteFlagSpecified
protected boolean deleteFlagSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A trigger's internal identifier.
-
idSpecified
protected boolean idSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
When this trigger was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
scalePolicyId
@ApiProperty(canBeNullOrNotSet=true) protected Long scalePolicyId
The policy this trigger is on.
-
scalePolicyIdSpecified
protected boolean scalePolicyIdSpecified
-
typeId
@ApiProperty(canBeNullOrNotSet=true) protected Long typeId
The type of trigger this is.
-
typeIdSpecified
protected boolean typeIdSpecified
-
-
Method Detail
-
getScalePolicy
public Policy getScalePolicy()
-
setScalePolicy
public void setScalePolicy(Policy scalePolicy)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getDeleteFlag
public Boolean getDeleteFlag()
-
setDeleteFlag
public void setDeleteFlag(Boolean deleteFlag)
-
isDeleteFlagSpecified
public boolean isDeleteFlagSpecified()
-
unsetDeleteFlag
public void unsetDeleteFlag()
-
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()
-
getScalePolicyId
public Long getScalePolicyId()
-
setScalePolicyId
public void setScalePolicyId(Long scalePolicyId)
-
isScalePolicyIdSpecified
public boolean isScalePolicyIdSpecified()
-
unsetScalePolicyId
public void unsetScalePolicyId()
-
getTypeId
public Long getTypeId()
-
setTypeId
public void setTypeId(Long typeId)
-
isTypeIdSpecified
public boolean isTypeIdSpecified()
-
unsetTypeId
public void unsetTypeId()
-
asService
public Trigger.Service asService(ApiClient client)
-
service
public static Trigger.Service service(ApiClient client)
-
service
public static Trigger.Service service(ApiClient client, Long id)
-
-