Package com.softlayer.api.service.scale
Class Asset
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.scale.Asset
@ApiType("SoftLayer_Scale_Asset") public class Asset extends Entity
The base asset of a scale group. Assets are fixed, non-volatile units of a scale group. They are pinned to the group and will not be automatically added or removed. Their primary purpose is to provide information for the policies to use to determine when to scale members.
- See Also:
- SoftLayer_Scale_Asset
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Asset.Mask
static interface
Asset.Service
The base asset of a scale group.static interface
Asset.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected GregorianCalendar
createDate
When this asset 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
An asset's internal identifier.protected boolean
idSpecified
protected Group
scaleGroup
The group this asset belongs to.protected Long
scaleGroupId
The identifier of the group this asset belongs to.protected boolean
scaleGroupIdSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Asset()
-
Method Summary
Modifier and Type Method Description Asset.Service
asService(ApiClient client)
GregorianCalendar
getCreateDate()
Boolean
getDeleteFlag()
Long
getId()
Group
getScaleGroup()
Long
getScaleGroupId()
boolean
isCreateDateSpecified()
boolean
isDeleteFlagSpecified()
boolean
isIdSpecified()
boolean
isScaleGroupIdSpecified()
static Asset.Service
service(ApiClient client)
static Asset.Service
service(ApiClient client, Long id)
void
setCreateDate(GregorianCalendar createDate)
void
setDeleteFlag(Boolean deleteFlag)
void
setId(Long id)
void
setScaleGroup(Group scaleGroup)
void
setScaleGroupId(Long scaleGroupId)
void
unsetCreateDate()
void
unsetDeleteFlag()
void
unsetId()
void
unsetScaleGroupId()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
scaleGroup
The group this asset belongs to. -
createDate
When this asset was created. -
createDateSpecified
protected boolean createDateSpecified -
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
An asset's internal identifier. -
idSpecified
protected boolean idSpecified -
scaleGroupId
The identifier of the group this asset belongs to. -
scaleGroupIdSpecified
protected boolean scaleGroupIdSpecified
-
-
Constructor Details
-
Asset
public Asset()
-
-
Method Details
-
getScaleGroup
-
setScaleGroup
-
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getDeleteFlag
-
setDeleteFlag
-
isDeleteFlagSpecified
public boolean isDeleteFlagSpecified() -
unsetDeleteFlag
public void unsetDeleteFlag() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getScaleGroupId
-
setScaleGroupId
-
isScaleGroupIdSpecified
public boolean isScaleGroupIdSpecified() -
unsetScaleGroupId
public void unsetScaleGroupId() -
asService
-
service
-
service
-