Class SecurityGroup
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.network.SecurityGroup
@ApiType("SoftLayer_Network_SecurityGroup") public class SecurityGroup extends Entity
The SoftLayer_Network_SecurityGroup data type contains general information for a single security group. A security group contains a set of IP filter [[SoftLayer_Network_SecurityGroup_Rule (type)|rules]] that define how to handle incoming (ingress) and outgoing (egress) traffic to both the public and private interfaces of a virtual server instance and a set of [[SoftLayer_Virtual_Network_SecurityGroup_NetworkComponentBinding (type)|bindings]] to associate virtual guest network components with the security group.
- See Also:
- SoftLayer_Network_SecurityGroup
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityGroup.Mask
static interface
SecurityGroup.Service
The Security Group service provides a common interface to interact with an account's security groups, their rules, and virtual guest instances associated with the groups.static interface
SecurityGroup.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account this security group belongs to.protected GregorianCalendar
createDate
The date a security group was created.protected boolean
createDateSpecified
protected String
description
The (optional) description for a security group.protected boolean
descriptionSpecified
protected Long
id
The unique ID for a security group.protected boolean
idSpecified
protected String
metadata
protected boolean
metadataSpecified
protected GregorianCalendar
modifyDate
The date a security group was last modified.protected boolean
modifyDateSpecified
protected String
name
The (optional) name for a security group.protected boolean
nameSpecified
protected Long
networkComponentBindingCount
A count of the network component bindings for this security group.protected List<NetworkComponentBinding>
networkComponentBindings
The network component bindings for this security group.protected Long
orderBindingCount
A count of the order bindings for this security groupprotected List<OrderBinding>
orderBindings
The order bindings for this security groupprotected Long
ruleCount
A count of the rules for this security group.protected List<Rule>
rules
The rules for this security group. -
Constructor Summary
Constructors Constructor Description SecurityGroup()
-
Method Summary
-
Field Details
-
account
The account this security group belongs to. -
networkComponentBindings
The network component bindings for this security group. -
orderBindings
The order bindings for this security group -
rules
The rules for this security group. -
createDate
The date a security group was created. -
createDateSpecified
protected boolean createDateSpecified -
description
The (optional) description for a security group. -
descriptionSpecified
protected boolean descriptionSpecified -
id
The unique ID for a security group. -
idSpecified
protected boolean idSpecified -
metadata
-
metadataSpecified
protected boolean metadataSpecified -
modifyDate
The date a security group was last modified. -
modifyDateSpecified
protected boolean modifyDateSpecified -
name
The (optional) name for a security group. -
nameSpecified
protected boolean nameSpecified -
networkComponentBindingCount
A count of the network component bindings for this security group. -
orderBindingCount
A count of the order bindings for this security group -
ruleCount
A count of the rules for this security group.
-
-
Constructor Details
-
SecurityGroup
public SecurityGroup()
-
-
Method Details
-
getAccount
-
setAccount
-
getNetworkComponentBindings
-
getOrderBindings
-
getRules
-
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getMetadata
-
setMetadata
-
isMetadataSpecified
public boolean isMetadataSpecified() -
unsetMetadata
public void unsetMetadata() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getNetworkComponentBindingCount
-
setNetworkComponentBindingCount
-
getOrderBindingCount
-
setOrderBindingCount
-
getRuleCount
-
setRuleCount
-
asService
-
service
-
service
-