Package org.jclouds.ec2.domain
Class SecurityGroup
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingCollection<IpPermission>
com.google.common.collect.ForwardingSet<IpPermission>
org.jclouds.ec2.domain.SecurityGroup
- All Implemented Interfaces:
Iterable<IpPermission>
,Collection<IpPermission>
,Set<IpPermission>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityGroup
(String region, String id, String name, String ownerId, String description, Iterable<IpPermission> ipPermissions) -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityGroup.Builder
<?> builder()
protected Set
<IpPermission> delegate()
boolean
Description of the security group.getId()
id of the security group.getName()
Name of the security group.AWS Access Key ID of the owner of the security group.Deprecated.int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAll
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
SecurityGroup
-
-
Method Details
-
builder
-
toBuilder
-
getRegion
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context. -
getId
id of the security group. Not in all EC2 impls -
getName
Name of the security group. -
getOwnerId
AWS Access Key ID of the owner of the security group. -
getDescription
Description of the security group. -
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<IpPermission>
- Specified by:
hashCode
in interfaceSet<IpPermission>
- Overrides:
hashCode
in classcom.google.common.collect.ForwardingSet<IpPermission>
-
equals
- Specified by:
equals
in interfaceCollection<IpPermission>
- Specified by:
equals
in interfaceSet<IpPermission>
- Overrides:
equals
in classcom.google.common.collect.ForwardingSet<IpPermission>
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
- Overrides:
toString
in classcom.google.common.collect.ForwardingObject
-
delegate
- Specified by:
delegate
in classcom.google.common.collect.ForwardingSet<IpPermission>
-