org.jclouds.compute.domain
Class SecurityGroup

java.lang.Object
  extended by org.jclouds.domain.internal.ResourceMetadataImpl<ComputeType>
      extended by org.jclouds.compute.domain.internal.ComputeMetadataImpl
          extended by org.jclouds.compute.domain.SecurityGroup
All Implemented Interfaces:
Comparable<org.jclouds.domain.ResourceMetadata<ComputeType>>, ComputeMetadata, org.jclouds.domain.ResourceMetadata<ComputeType>

public class SecurityGroup
extends ComputeMetadataImpl

Describes a security group containing a set of @{link IpPermission}s


Field Summary
 
Fields inherited from class org.jclouds.compute.domain.internal.ComputeMetadataImpl
tags
 
Constructor Summary
SecurityGroup(String providerId, String name, String id, org.jclouds.domain.Location location, URI uri, Map<String,String> userMetadata, Set<String> tags, Iterable<IpPermission> ipPermissions, String ownerId)
           
 
Method Summary
 Set<IpPermission> getIpPermissions()
           
 String getOwnerId()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 
Methods inherited from class org.jclouds.compute.domain.internal.ComputeMetadataImpl
addComputeToStringSuffix, compareTo, computeToStringPrefix, equals, getId, getTags, getType, hashCode
 
Methods inherited from class org.jclouds.domain.internal.ResourceMetadataImpl
getLocation, getName, getProviderId, getUri, getUserMetadata, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.compute.domain.ComputeMetadata
getName, getProviderId
 
Methods inherited from interface org.jclouds.domain.ResourceMetadata
getLocation, getUri, getUserMetadata
 

Constructor Detail

SecurityGroup

public SecurityGroup(String providerId,
                     String name,
                     String id,
                     @Nullable
                     org.jclouds.domain.Location location,
                     URI uri,
                     Map<String,String> userMetadata,
                     Set<String> tags,
                     Iterable<IpPermission> ipPermissions,
                     @Nullable
                     String ownerId)
Method Detail

getIpPermissions

public Set<IpPermission> getIpPermissions()
Returns:
The set of @{link IpPermission}s for this security group

getOwnerId

public String getOwnerId()
Returns:
the owner ID. Can be null.

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class ComputeMetadataImpl


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.