Class DBSecurityGroup
- All Implemented Interfaces:
Serializable, Cloneable
Contains the result of a successful invocation of the following actions:
- DescribeDBSecurityGroups
- AuthorizeDBSecurityGroupIngress
- CreateDBSecurityGroup
- RevokeDBSecurityGroupIngress
This data type is used as a response element in the DescribeDBSecurityGroups action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanProvides the description of the DB security group.Specifies the name of the DB security group.Contains a list of EC2SecurityGroup elements.Contains a list of IPRange elements.Provides the AWS ID of the owner of a specific DB security group.getVpcId()Provides the VpcId of the DB security group.inthashCode()voidsetDBSecurityGroupDescription(String dBSecurityGroupDescription) Provides the description of the DB security group.voidsetDBSecurityGroupName(String dBSecurityGroupName) Specifies the name of the DB security group.voidsetEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups) Contains a list of EC2SecurityGroup elements.voidsetIPRanges(Collection<IPRange> iPRanges) Contains a list of IPRange elements.voidsetOwnerId(String ownerId) Provides the AWS ID of the owner of a specific DB security group.voidProvides the VpcId of the DB security group.toString()Returns a string representation of this object; useful for testing and debugging.withDBSecurityGroupDescription(String dBSecurityGroupDescription) Provides the description of the DB security group.withDBSecurityGroupName(String dBSecurityGroupName) Specifies the name of the DB security group.withEC2SecurityGroups(EC2SecurityGroup... eC2SecurityGroups) Contains a list of EC2SecurityGroup elements.withEC2SecurityGroups(Collection<EC2SecurityGroup> eC2SecurityGroups) Contains a list of EC2SecurityGroup elements.withIPRanges(IPRange... iPRanges) Contains a list of IPRange elements.withIPRanges(Collection<IPRange> iPRanges) Contains a list of IPRange elements.withOwnerId(String ownerId) Provides the AWS ID of the owner of a specific DB security group.Provides the VpcId of the DB security group.
-
Constructor Details
-
DBSecurityGroup
public DBSecurityGroup()
-
-
Method Details
-
setOwnerId
Provides the AWS ID of the owner of a specific DB security group.
- Parameters:
ownerId- Provides the AWS ID of the owner of a specific DB security group.
-
getOwnerId
Provides the AWS ID of the owner of a specific DB security group.
- Returns:
- Provides the AWS ID of the owner of a specific DB security group.
-
withOwnerId
Provides the AWS ID of the owner of a specific DB security group.
- Parameters:
ownerId- Provides the AWS ID of the owner of a specific DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBSecurityGroupName
Specifies the name of the DB security group.
- Parameters:
dBSecurityGroupName- Specifies the name of the DB security group.
-
getDBSecurityGroupName
Specifies the name of the DB security group.
- Returns:
- Specifies the name of the DB security group.
-
withDBSecurityGroupName
Specifies the name of the DB security group.
- Parameters:
dBSecurityGroupName- Specifies the name of the DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBSecurityGroupDescription
Provides the description of the DB security group.
- Parameters:
dBSecurityGroupDescription- Provides the description of the DB security group.
-
getDBSecurityGroupDescription
Provides the description of the DB security group.
- Returns:
- Provides the description of the DB security group.
-
withDBSecurityGroupDescription
Provides the description of the DB security group.
- Parameters:
dBSecurityGroupDescription- Provides the description of the DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
Provides the VpcId of the DB security group.
- Parameters:
vpcId- Provides the VpcId of the DB security group.
-
getVpcId
Provides the VpcId of the DB security group.
- Returns:
- Provides the VpcId of the DB security group.
-
withVpcId
Provides the VpcId of the DB security group.
- Parameters:
vpcId- Provides the VpcId of the DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEC2SecurityGroups
Contains a list of EC2SecurityGroup elements.
- Returns:
- Contains a list of EC2SecurityGroup elements.
-
setEC2SecurityGroups
Contains a list of EC2SecurityGroup elements.
- Parameters:
eC2SecurityGroups- Contains a list of EC2SecurityGroup elements.
-
withEC2SecurityGroups
Contains a list of EC2SecurityGroup elements.
NOTE: This method appends the values to the existing list (if any). Use
setEC2SecurityGroups(java.util.Collection)orwithEC2SecurityGroups(java.util.Collection)if you want to override the existing values.- Parameters:
eC2SecurityGroups- Contains a list of EC2SecurityGroup elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEC2SecurityGroups
Contains a list of EC2SecurityGroup elements.
- Parameters:
eC2SecurityGroups- Contains a list of EC2SecurityGroup elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getIPRanges
-
setIPRanges
-
withIPRanges
Contains a list of IPRange elements.
NOTE: This method appends the values to the existing list (if any). Use
setIPRanges(java.util.Collection)orwithIPRanges(java.util.Collection)if you want to override the existing values.- Parameters:
iPRanges- Contains a list of IPRange elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIPRanges
-
toString
-
equals
-
hashCode
-
clone
-