Class Rule
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.virtual.placementgroup.Rule
-
@ApiType("SoftLayer_Virtual_PlacementGroup_Rule") public class Rule extends Entity
This data type presents the structure of a virtual guest placement group rule.- See Also:
- SoftLayer_Virtual_PlacementGroup_Rule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.Mask
static interface
Rule.Service
SoftLayer_Virtual_PlacementGroup_Rule is the placement rule that a virtual guest placement group follows.static interface
Rule.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
id
The placement group rule's associated unique ID.protected boolean
idSpecified
protected String
keyName
The placement group rule's key name.protected boolean
keyNameSpecified
protected String
name
The placement group rule's name.protected boolean
nameSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Rule()
-
Method Summary
Modifier and Type Method Description Rule.Service
asService(ApiClient client)
Long
getId()
String
getKeyName()
String
getName()
boolean
isIdSpecified()
boolean
isKeyNameSpecified()
boolean
isNameSpecified()
static Rule.Service
service(ApiClient client)
static Rule.Service
service(ApiClient client, Long id)
void
setId(Long id)
void
setKeyName(String keyName)
void
setName(String name)
void
unsetId()
void
unsetKeyName()
void
unsetName()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The placement group rule's associated unique ID.
-
idSpecified
protected boolean idSpecified
-
keyName
@ApiProperty(canBeNullOrNotSet=true) protected String keyName
The placement group rule's key name.
-
keyNameSpecified
protected boolean keyNameSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The placement group rule's name.
-
nameSpecified
protected boolean nameSpecified
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getKeyName
public String getKeyName()
-
setKeyName
public void setKeyName(String keyName)
-
isKeyNameSpecified
public boolean isKeyNameSpecified()
-
unsetKeyName
public void unsetKeyName()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
asService
public Rule.Service asService(ApiClient client)
-
service
public static Rule.Service service(ApiClient client)
-
service
public static Rule.Service service(ApiClient client, Long id)
-
-