|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.rds.domain.SecurityGroup
public class SecurityGroup
Amazon RDS allows you to control access to your DB Instances using DB Security Groups. A DB Security Group acts like a firewall controlling network access to your DB Instance. By default, network access is turned off to your DB Instances. If you want your applications to access your DB Instance you can allow access from specific EC2 security groups or IP ranges. Once ingress is configured, the same rules apply to all DB Instances associated with that DBSecurityGroup.
| Nested Class Summary | |
|---|---|
static class |
SecurityGroup.Builder<T extends SecurityGroup.Builder<T>>
|
| Field Summary | |
|---|---|
protected String |
description
|
protected Set<EC2SecurityGroup> |
ec2SecurityGroups
|
protected Set<IPRange> |
ipRanges
|
protected String |
name
|
protected String |
ownerId
|
protected com.google.common.base.Optional<String> |
vpcId
|
| Constructor Summary | |
|---|---|
protected |
SecurityGroup(String name,
String description,
Iterable<EC2SecurityGroup> ec2SecurityGroups,
Iterable<IPRange> ipRanges,
String ownerId,
com.google.common.base.Optional<String> vpcId)
|
| Method Summary | |
|---|---|
static SecurityGroup.Builder<?> |
builder()
|
boolean |
equals(Object obj)
|
String |
getDescription()
Provides the description of the DB Security Group. |
Set<EC2SecurityGroup> |
getEC2SecurityGroups()
Contains a list of EC2SecurityGroup elements. |
Set<IPRange> |
getIPRanges()
Contains a list of IPRange elements. |
String |
getName()
Specifies the name of the DB Security Group. |
String |
getOwnerId()
Provides the AWS ID of the owner of a specific DB Security Group.. |
com.google.common.base.Optional<String> |
getVpcId()
Provides the VpcId of the DB Security Group. |
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
SecurityGroup.Builder<?> |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String name
protected final String description
protected final Set<EC2SecurityGroup> ec2SecurityGroups
protected final Set<IPRange> ipRanges
protected final String ownerId
protected final com.google.common.base.Optional<String> vpcId
| Constructor Detail |
|---|
protected SecurityGroup(String name,
String description,
Iterable<EC2SecurityGroup> ec2SecurityGroups,
Iterable<IPRange> ipRanges,
String ownerId,
com.google.common.base.Optional<String> vpcId)
| Method Detail |
|---|
public static SecurityGroup.Builder<?> builder()
public SecurityGroup.Builder<?> toBuilder()
public String getName()
public String getDescription()
public Set<EC2SecurityGroup> getEC2SecurityGroups()
public Set<IPRange> getIPRanges()
public String getOwnerId()
public com.google.common.base.Optional<String> getVpcId()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||