@Generated(value="software.amazon.awssdk:codegen") public class DBSecurityGroup extends Object implements ToCopyableBuilder<DBSecurityGroup.Builder,DBSecurityGroup>
Contains the details for an Amazon RDS DB security group.
This data type is used as a response element in the DescribeDBSecurityGroups action.
Modifier and Type | Class and Description |
---|---|
static interface |
DBSecurityGroup.Builder |
Modifier and Type | Method and Description |
---|---|
static DBSecurityGroup.Builder |
builder() |
String |
dbSecurityGroupArn()
The Amazon Resource Name (ARN) for the DB security group.
|
String |
dbSecurityGroupDescription()
Provides the description of the DB security group.
|
String |
dbSecurityGroupName()
Specifies the name of the DB security group.
|
List<EC2SecurityGroup> |
ec2SecurityGroups()
Contains a list of EC2SecurityGroup elements.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<IPRange> |
ipRanges()
Contains a list of IPRange elements.
|
String |
ownerId()
Provides the AWS ID of the owner of a specific DB security group.
|
static Class<? extends DBSecurityGroup.Builder> |
serializableBuilderClass() |
DBSecurityGroup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
Provides the VpcId of the DB security group.
|
copy
public String ownerId()
Provides the AWS ID of the owner of a specific DB security group.
public String dbSecurityGroupName()
Specifies the name of the DB security group.
public String dbSecurityGroupDescription()
Provides the description of the DB security group.
public String vpcId()
Provides the VpcId of the DB security group.
public List<EC2SecurityGroup> ec2SecurityGroups()
Contains a list of EC2SecurityGroup elements.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<IPRange> ipRanges()
Contains a list of IPRange elements.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String dbSecurityGroupArn()
The Amazon Resource Name (ARN) for the DB security group.
public DBSecurityGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DBSecurityGroup.Builder,DBSecurityGroup>
public static DBSecurityGroup.Builder builder()
public static Class<? extends DBSecurityGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.