Interface DBSecurityGroup.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DBSecurityGroup.Builder,DBSecurityGroup>
,SdkBuilder<DBSecurityGroup.Builder,DBSecurityGroup>
,SdkPojo
- Enclosing class:
- DBSecurityGroup
public static interface DBSecurityGroup.Builder extends SdkPojo, CopyableBuilder<DBSecurityGroup.Builder,DBSecurityGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 ofEC2SecurityGroup
elements.DBSecurityGroup.Builder
ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)
Contains a list ofEC2SecurityGroup
elements.DBSecurityGroup.Builder
ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)
Contains a list ofEC2SecurityGroup
elements.DBSecurityGroup.Builder
ipRanges(Collection<IPRange> ipRanges)
Contains a list ofIPRange
elements.DBSecurityGroup.Builder
ipRanges(Consumer<IPRange.Builder>... ipRanges)
Contains a list ofIPRange
elements.DBSecurityGroup.Builder
ipRanges(IPRange... ipRanges)
Contains a list ofIPRange
elements.DBSecurityGroup.Builder
ownerId(String ownerId)
Provides the Amazon Web Services ID of the owner of a specific DB security group.DBSecurityGroup.Builder
vpcId(String vpcId)
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, sdkFields
-
-
-
-
Method Detail
-
ownerId
DBSecurityGroup.Builder ownerId(String 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
DBSecurityGroup.Builder dbSecurityGroupName(String 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
DBSecurityGroup.Builder dbSecurityGroupDescription(String 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
DBSecurityGroup.Builder vpcId(String 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
DBSecurityGroup.Builder ec2SecurityGroups(Collection<EC2SecurityGroup> 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
DBSecurityGroup.Builder ec2SecurityGroups(EC2SecurityGroup... 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
DBSecurityGroup.Builder ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... 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 to#ec2SecurityGroups(List
.) - 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:
#ec2SecurityGroups(java.util.Collection
)
-
ipRanges
DBSecurityGroup.Builder ipRanges(Collection<IPRange> 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
DBSecurityGroup.Builder ipRanges(IPRange... 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
DBSecurityGroup.Builder ipRanges(Consumer<IPRange.Builder>... 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 to#ipRanges(List
.) - 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:
#ipRanges(java.util.Collection
)
-
dbSecurityGroupArn
DBSecurityGroup.Builder dbSecurityGroupArn(String 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.
-
-