Package org.jclouds.cloudstack.domain
Class SecurityGroup
- java.lang.Object
-
- org.jclouds.cloudstack.domain.SecurityGroup
-
- All Implemented Interfaces:
Comparable<SecurityGroup>
public class SecurityGroup extends Object implements Comparable<SecurityGroup>
Class SecurityGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityGroup.Builder<?>
builder()
int
compareTo(SecurityGroup o)
boolean
equals(Object obj)
String
getAccount()
String
getDescription()
String
getDomain()
String
getDomainId()
String
getId()
Set<IngressRule>
getIngressRules()
String
getJobId()
Integer
getJobStatus()
String
getName()
Set<Tag>
getTags()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
SecurityGroup.Builder<?>
toBuilder()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
builder
public static SecurityGroup.Builder<?> builder()
-
toBuilder
public SecurityGroup.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the id of the security group
-
getDescription
@Nullable public String getDescription()
- Returns:
- an alternate display text of the security group.
-
getJobId
@Nullable public String 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
@Nullable public Integer getJobStatus()
- Returns:
- shows the current pending asynchronous job status
-
getIngressRules
public Set<IngressRule> getIngressRules()
- Returns:
- the list of ingress rules associated with the security group
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
compareTo
public int compareTo(SecurityGroup o)
- Specified by:
compareTo
in interfaceComparable<SecurityGroup>
-
-