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 classSecurityGroup.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()booleanDescription 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.inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString()Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAllMethods 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, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
hashCodein interfaceCollection<IpPermission>- Specified by:
hashCodein interfaceSet<IpPermission>- Overrides:
hashCodein classcom.google.common.collect.ForwardingSet<IpPermission>
-
equals
- Specified by:
equalsin interfaceCollection<IpPermission>- Specified by:
equalsin interfaceSet<IpPermission>- Overrides:
equalsin classcom.google.common.collect.ForwardingSet<IpPermission>
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
- Overrides:
toStringin classcom.google.common.collect.ForwardingObject
-
delegate
- Specified by:
delegatein classcom.google.common.collect.ForwardingSet<IpPermission>
-