public static interface DBSecurityGroup.Builder extends CopyableBuilder<DBSecurityGroup.Builder,DBSecurityGroup>
Modifier and Type | Method and Description |
---|---|
DBSecurityGroup.Builder |
dbSecurityGroupArn(String dbSecurityGroupArn)
The Amazon Resource Name (ARN) for the DB security group.
|
DBSecurityGroup.Builder |
dbSecurityGroupDescription(String dbSecurityGroupDescription)
Provides the description of the DB security group.
|
DBSecurityGroup.Builder |
dbSecurityGroupName(String dbSecurityGroupName)
Specifies the name of the DB security group.
|
DBSecurityGroup.Builder |
ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
|
DBSecurityGroup.Builder |
ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
|
DBSecurityGroup.Builder |
ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
|
DBSecurityGroup.Builder |
ipRanges(Collection<IPRange> ipRanges)
Contains a list of IPRange elements.
|
DBSecurityGroup.Builder |
ipRanges(Consumer<IPRange.Builder>... ipRanges)
Contains a list of IPRange elements.
|
DBSecurityGroup.Builder |
ipRanges(IPRange... ipRanges)
Contains a list of IPRange elements.
|
DBSecurityGroup.Builder |
ownerId(String ownerId)
Provides the AWS ID of the owner of a specific DB security group.
|
DBSecurityGroup.Builder |
vpcId(String vpcId)
Provides the VpcId of the DB security group.
|
copy
applyMutation, build
DBSecurityGroup.Builder ownerId(String ownerId)
Provides the AWS ID of the owner of a specific DB security group.
ownerId
- Provides the AWS ID of the owner of a specific DB security group.DBSecurityGroup.Builder dbSecurityGroupName(String dbSecurityGroupName)
Specifies the name of the DB security group.
dbSecurityGroupName
- Specifies the name of the DB security group.DBSecurityGroup.Builder dbSecurityGroupDescription(String dbSecurityGroupDescription)
Provides the description of the DB security group.
dbSecurityGroupDescription
- Provides the description of the DB security group.DBSecurityGroup.Builder vpcId(String vpcId)
Provides the VpcId of the DB security group.
vpcId
- Provides the VpcId of the DB security group.DBSecurityGroup.Builder ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
ec2SecurityGroups
- Contains a list of EC2SecurityGroup elements.DBSecurityGroup.Builder ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
ec2SecurityGroups
- Contains a list of EC2SecurityGroup elements.DBSecurityGroup.Builder ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)
Contains a list of EC2SecurityGroup elements.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #ec2SecurityGroups(List)
.ec2SecurityGroups
- a consumer that will call methods on List.Builder
#ec2SecurityGroups(List)
DBSecurityGroup.Builder ipRanges(Collection<IPRange> ipRanges)
Contains a list of IPRange elements.
ipRanges
- Contains a list of IPRange elements.DBSecurityGroup.Builder ipRanges(IPRange... ipRanges)
Contains a list of IPRange elements.
ipRanges
- Contains a list of IPRange elements.DBSecurityGroup.Builder ipRanges(Consumer<IPRange.Builder>... ipRanges)
Contains a list of IPRange elements.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #ipRanges(List)
.ipRanges
- a consumer that will call methods on List.Builder
#ipRanges(List)
DBSecurityGroup.Builder dbSecurityGroupArn(String dbSecurityGroupArn)
The Amazon Resource Name (ARN) for the DB security group.
dbSecurityGroupArn
- The Amazon Resource Name (ARN) for the DB security group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.