Package org.jclouds.cloudstack.domain
Class SecurityGroup
java.lang.Object
org.jclouds.cloudstack.domain.SecurityGroup
- All Implemented Interfaces:
Comparable<SecurityGroup>
Class SecurityGroup
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecurityGroup
@ConstructorProperties({"id","account","name","description","domain","domainid","jobid","jobstatus","ingressrule","tags"}) protected SecurityGroup(String id, @Nullable String account, @Nullable String name, @Nullable String description, @Nullable String domain, @Nullable String domainId, @Nullable String jobId, @Nullable Integer jobStatus, @Nullable Set<IngressRule> ingressRules, @Nullable Set<Tag> tags)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- the id of the security group
-
getAccount
- Returns:
- the account owning the security group
-
getName
- Returns:
- the name of the security group
-
getDescription
- Returns:
- an alternate display text of the security group.
-
getDomain
- Returns:
- Domain name for the security group
-
getDomainId
- Returns:
- the domain id of the security group
-
getJobId
- Returns:
- shows the current pending asynchronous job ID. This tag is not returned if no current pending jobs are acting on the virtual machine
-
getJobStatus
- Returns:
- shows the current pending asynchronous job status
-
getIngressRules
- Returns:
- the list of ingress rules associated with the security group
-
getTags
- Returns:
- the tags for the security group
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<SecurityGroup>
-