Package org.jclouds.cloudstack.domain
Class IngressRule
java.lang.Object
org.jclouds.cloudstack.domain.IngressRule
- All Implemented Interfaces:
Comparable<IngressRule>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
IngressRule.Builder<T extends IngressRule.Builder<T>>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IngressRule
@ConstructorProperties({"account","cidr","endport","icmpcode","icmptype","protocol","ruleid","securitygroupname","startport","tags"}) protected IngressRule(@Nullable String account, @Nullable String CIDR, int endPort, int ICMPCode, int ICMPType, @Nullable String protocol, String id, @Nullable String securityGroupName, int startPort, @Nullable Set<Tag> tags)
-
-
Method Details
-
builder
-
toBuilder
-
getAccount
- Returns:
- account owning the ingress rule
-
getCIDR
- Returns:
- the CIDR notation for the base IP address of the ingress rule
-
getEndPort
public int getEndPort()- Returns:
- the ending IP of the ingress rule
-
getICMPCode
public int getICMPCode()- Returns:
- the code for the ICMP message response
-
getICMPType
public int getICMPType()- Returns:
- the type of the ICMP message response
-
getProtocol
- Returns:
- the protocol of the ingress rule
-
getId
- Returns:
- the id of the ingress rule
-
getSecurityGroupName
- Returns:
- security group name
-
getStartPort
public int getStartPort()- Returns:
- the starting IP of the ingress rule
-
getTags
- Returns:
- Tags on this rule
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<IngressRule>
-