public class SecurityGroup extends com.google.common.collect.ForwardingSet<IpPermission>
Modifier and Type | Class and Description |
---|---|
static class |
SecurityGroup.Builder<T extends SecurityGroup.Builder<T>> |
Constructor and Description |
---|
SecurityGroup(String region,
String id,
String name,
String ownerId,
String description,
Iterable<IpPermission> ipPermissions) |
Modifier and Type | Method and Description |
---|---|
static SecurityGroup.Builder<?> |
builder() |
protected Set<IpPermission> |
delegate() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the security group.
|
String |
getId()
id of the security group.
|
String |
getName()
Name of the security group.
|
String |
getOwnerId()
AWS Access Key ID of the owner of the security group.
|
String |
getRegion()
Deprecated.
|
int |
hashCode() |
protected com.google.common.base.MoreObjects.ToStringHelper |
string() |
SecurityGroup.Builder<?> |
toBuilder() |
String |
toString() |
standardEquals, standardHashCode, standardRemoveAll
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public static SecurityGroup.Builder<?> builder()
public SecurityGroup.Builder<?> toBuilder()
@Deprecated public String getRegion()
public String getName()
public String getOwnerId()
public String getDescription()
public int hashCode()
hashCode
in interface Collection<IpPermission>
hashCode
in interface Set<IpPermission>
hashCode
in class com.google.common.collect.ForwardingSet<IpPermission>
public boolean equals(Object obj)
equals
in interface Collection<IpPermission>
equals
in interface Set<IpPermission>
equals
in class com.google.common.collect.ForwardingSet<IpPermission>
protected com.google.common.base.MoreObjects.ToStringHelper string()
public String toString()
toString
in class com.google.common.collect.ForwardingObject
protected Set<IpPermission> delegate()
delegate
in class com.google.common.collect.ForwardingSet<IpPermission>
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.