org.jclouds.cloudstack.domain
Class ZoneSecurityGroupNamePortsCidrs

java.lang.Object
  extended by org.jclouds.cloudstack.domain.ZoneAndName
      extended by org.jclouds.cloudstack.domain.ZoneSecurityGroupNamePortsCidrs

public class ZoneSecurityGroupNamePortsCidrs
extends ZoneAndName


Nested Class Summary
static class ZoneSecurityGroupNamePortsCidrs.Builder<T extends ZoneSecurityGroupNamePortsCidrs.Builder<T>>
           
 
Field Summary
 
Fields inherited from class org.jclouds.cloudstack.domain.ZoneAndName
name, NAME_FUNCTION, ZONE_FUNCTION, zoneId
 
Constructor Summary
protected ZoneSecurityGroupNamePortsCidrs(String zoneId, String name, Set<Integer> ports, Set<String> cidrs)
           
 
Method Summary
static ZoneSecurityGroupNamePortsCidrs.Builder<?> builder()
           
 boolean equals(Object obj)
           
 Set<String> getCidrs()
           
 Set<Integer> getPorts()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ZoneSecurityGroupNamePortsCidrs.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class org.jclouds.cloudstack.domain.ZoneAndName
fromZoneAndName, getName, getZone
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ZoneSecurityGroupNamePortsCidrs

protected ZoneSecurityGroupNamePortsCidrs(String zoneId,
                                          String name,
                                          Set<Integer> ports,
                                          Set<String> cidrs)
Method Detail

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.