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.BuilderdbSecurityGroupArn(String dbSecurityGroupArn)The Amazon Resource Name (ARN) for the DB security group.DBSecurityGroup.BuilderdbSecurityGroupDescription(String dbSecurityGroupDescription)Provides the description of the DB security group.DBSecurityGroup.BuilderdbSecurityGroupName(String dbSecurityGroupName)Specifies the name of the DB security group.DBSecurityGroup.Builderec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)Contains a list ofEC2SecurityGroupelements.DBSecurityGroup.Builderec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)Contains a list ofEC2SecurityGroupelements.DBSecurityGroup.Builderec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)Contains a list ofEC2SecurityGroupelements.DBSecurityGroup.BuilderipRanges(Collection<IPRange> ipRanges)Contains a list ofIPRangeelements.DBSecurityGroup.BuilderipRanges(Consumer<IPRange.Builder>... ipRanges)Contains a list ofIPRangeelements.DBSecurityGroup.BuilderipRanges(IPRange... ipRanges)Contains a list ofIPRangeelements.DBSecurityGroup.BuilderownerId(String ownerId)Provides the Amazon Web Services ID of the owner of a specific DB security group.DBSecurityGroup.BuildervpcId(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, sdkFieldNameToField, 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
EC2SecurityGroupelements.- Parameters:
ec2SecurityGroups- Contains a list ofEC2SecurityGroupelements.- 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
EC2SecurityGroupelements.- Parameters:
ec2SecurityGroups- Contains a list ofEC2SecurityGroupelements.- 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 theEC2SecurityGroupelements.EC2SecurityGroup.Builderavoiding the need to create one manually viaEC2SecurityGroup.builder().When the
Consumercompletes,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
IPRangeelements.- Parameters:
ipRanges- Contains a list ofIPRangeelements.- 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
IPRangeelements.- Parameters:
ipRanges- Contains a list ofIPRangeelements.- 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 theIPRangeelements.IPRange.Builderavoiding the need to create one manually viaIPRange.builder().When the
Consumercompletes,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.
-
-