Interface DBSecurityGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DBSecurityGroup.Builder,
,DBSecurityGroup> SdkBuilder<DBSecurityGroup.Builder,
,DBSecurityGroup> SdkPojo
- Enclosing class:
DBSecurityGroup
-
Method Summary
Modifier and TypeMethodDescriptiondbSecurityGroupArn
(String dbSecurityGroupArn) The Amazon Resource Name (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<EC2SecurityGroup> ec2SecurityGroups) Contains a list ofEC2SecurityGroup
elements.ec2SecurityGroups
(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups) Contains a list ofEC2SecurityGroup
elements.ec2SecurityGroups
(EC2SecurityGroup... ec2SecurityGroups) Contains a list ofEC2SecurityGroup
elements.ipRanges
(Collection<IPRange> ipRanges) Contains a list ofIPRange
elements.ipRanges
(Consumer<IPRange.Builder>... ipRanges) Contains a list ofIPRange
elements.Contains a list ofIPRange
elements.Provides the Amazon Web Services ID of the owner of a specific DB security group.Provides the VpcId of 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
-
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.
-
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.
-
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.
-
vpcId
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.
-
ec2SecurityGroups
Contains a list of
EC2SecurityGroup
elements.- Parameters:
ec2SecurityGroups
- Contains a list ofEC2SecurityGroup
elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroups
Contains a list of
EC2SecurityGroup
elements.- Parameters:
ec2SecurityGroups
- Contains a list ofEC2SecurityGroup
elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroups
Contains a list of
This is a convenience method that creates an instance of theEC2SecurityGroup
elements.EC2SecurityGroup.Builder
avoiding the need to create one manually viaEC2SecurityGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2SecurityGroups(List<EC2SecurityGroup>)
.- Parameters:
ec2SecurityGroups
- a consumer that will call methods onEC2SecurityGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipRanges
Contains a list of
IPRange
elements.- Parameters:
ipRanges
- Contains a list ofIPRange
elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
Contains a list of
IPRange
elements.- Parameters:
ipRanges
- Contains a list ofIPRange
elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipRanges
Contains a list of
This is a convenience method that creates an instance of theIPRange
elements.IPRange.Builder
avoiding the need to create one manually viaIPRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipRanges(List<IPRange>)
.- Parameters:
ipRanges
- a consumer that will call methods onIPRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbSecurityGroupArn
The Amazon Resource Name (ARN) for the DB security group.
- Parameters:
dbSecurityGroupArn
- The Amazon Resource Name (ARN) for the DB security group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-