Interface AwsRdsDbSecurityGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsRdsDbSecurityGroupDetails.Builder,
,AwsRdsDbSecurityGroupDetails> SdkBuilder<AwsRdsDbSecurityGroupDetails.Builder,
,AwsRdsDbSecurityGroupDetails> SdkPojo
- Enclosing class:
AwsRdsDbSecurityGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptiondbSecurityGroupArn
(String dbSecurityGroupArn) The ARN for the DB security group.dbSecurityGroupDescription
(String dbSecurityGroupDescription) Provides the description of the DB security group.dbSecurityGroupName
(String dbSecurityGroupName) Specifies the name of the DB security group.ec2SecurityGroups
(Collection<AwsRdsDbSecurityGroupEc2SecurityGroup> ec2SecurityGroups) Contains a list of EC2 security groups.ec2SecurityGroups
(Consumer<AwsRdsDbSecurityGroupEc2SecurityGroup.Builder>... ec2SecurityGroups) Contains a list of EC2 security groups.ec2SecurityGroups
(AwsRdsDbSecurityGroupEc2SecurityGroup... ec2SecurityGroups) Contains a list of EC2 security groups.ipRanges
(Collection<AwsRdsDbSecurityGroupIpRange> ipRanges) Contains a list of IP ranges.ipRanges
(Consumer<AwsRdsDbSecurityGroupIpRange.Builder>... ipRanges) Contains a list of IP ranges.ipRanges
(AwsRdsDbSecurityGroupIpRange... ipRanges) Contains a list of IP ranges.Provides the Amazon Web Services ID of the owner of a specific DB security group.Provides VPC ID associated with the DB security group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dbSecurityGroupArn
The ARN for the DB security group.
- Parameters:
dbSecurityGroupArn
- The ARN for the DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroupDescription
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.
-
dbSecurityGroupName
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.
-
ec2SecurityGroups
AwsRdsDbSecurityGroupDetails.Builder ec2SecurityGroups(Collection<AwsRdsDbSecurityGroupEc2SecurityGroup> ec2SecurityGroups) Contains a list of EC2 security groups.
- Parameters:
ec2SecurityGroups
- Contains a list of EC2 security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroups
AwsRdsDbSecurityGroupDetails.Builder ec2SecurityGroups(AwsRdsDbSecurityGroupEc2SecurityGroup... ec2SecurityGroups) Contains a list of EC2 security groups.
- Parameters:
ec2SecurityGroups
- Contains a list of EC2 security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroups
AwsRdsDbSecurityGroupDetails.Builder ec2SecurityGroups(Consumer<AwsRdsDbSecurityGroupEc2SecurityGroup.Builder>... ec2SecurityGroups) Contains a list of EC2 security groups.
This is a convenience method that creates an instance of theAwsRdsDbSecurityGroupEc2SecurityGroup.Builder
avoiding the need to create one manually viaAwsRdsDbSecurityGroupEc2SecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2SecurityGroups(List<AwsRdsDbSecurityGroupEc2SecurityGroup>)
.- Parameters:
ec2SecurityGroups
- a consumer that will call methods onAwsRdsDbSecurityGroupEc2SecurityGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipRanges
Contains a list of IP ranges.
- Parameters:
ipRanges
- Contains a list of IP ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
Contains a list of IP ranges.
- Parameters:
ipRanges
- Contains a list of IP ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
AwsRdsDbSecurityGroupDetails.Builder ipRanges(Consumer<AwsRdsDbSecurityGroupIpRange.Builder>... ipRanges) Contains a list of IP ranges.
This is a convenience method that creates an instance of theAwsRdsDbSecurityGroupIpRange.Builder
avoiding the need to create one manually viaAwsRdsDbSecurityGroupIpRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipRanges(List<AwsRdsDbSecurityGroupIpRange>)
.- Parameters:
ipRanges
- a consumer that will call methods onAwsRdsDbSecurityGroupIpRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
Provides the Amazon Web Services ID of the owner of a specific DB security group.
- Parameters:
ownerId
- Provides the Amazon Web Services 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.
-
vpcId
Provides VPC ID associated with the DB security group.
- Parameters:
vpcId
- Provides VPC ID associated with the DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-