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 ofEC2SecurityGroupelements.ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups) Contains a list ofEC2SecurityGroupelements.ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups) Contains a list ofEC2SecurityGroupelements.ipRanges(Collection<IPRange> ipRanges) Contains a list ofIPRangeelements.ipRanges(Consumer<IPRange.Builder>... ipRanges) Contains a list ofIPRangeelements.Contains a list ofIPRangeelements.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
EC2SecurityGroupelements.- Parameters:
ec2SecurityGroups- Contains a list ofEC2SecurityGroupelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 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
IPRangeelements.- Parameters:
ipRanges- Contains a list ofIPRangeelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 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.
-