org.jclouds.cloudstack.domain
Class ZoneSecurityGroupNamePortsCidrs
java.lang.Object
org.jclouds.cloudstack.domain.ZoneAndName
org.jclouds.cloudstack.domain.ZoneSecurityGroupNamePortsCidrs
public class ZoneSecurityGroupNamePortsCidrs
- extends ZoneAndName
ZoneSecurityGroupNamePortsCidrs
protected ZoneSecurityGroupNamePortsCidrs(String zoneId,
String name,
Set<Integer> ports,
Set<String> cidrs)
builder
public static ZoneSecurityGroupNamePortsCidrs.Builder<?> builder()
toBuilder
public ZoneSecurityGroupNamePortsCidrs.Builder<?> toBuilder()
getPorts
public Set<Integer> getPorts()
- Returns:
- the set of ports to open in the security group
getCidrs
public Set<String> getCidrs()
- Returns:
- the set of cidrs to give access to the open ports in the security group
hashCode
public int hashCode()
- Overrides:
hashCode in class ZoneAndName
equals
public boolean equals(Object obj)
- Overrides:
equals in class ZoneAndName
string
protected com.google.common.base.Objects.ToStringHelper string()
- Overrides:
string in class ZoneAndName
toString
public String toString()
- Overrides:
toString in class ZoneAndName
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.