Interface AuthorizeDbSecurityGroupIngressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AuthorizeDbSecurityGroupIngressRequest.Builder,
,AuthorizeDbSecurityGroupIngressRequest> RdsRequest.Builder
,SdkBuilder<AuthorizeDbSecurityGroupIngressRequest.Builder,
,AuthorizeDbSecurityGroupIngressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AuthorizeDbSecurityGroupIngressRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe IP range to authorize.dbSecurityGroupName
(String dbSecurityGroupName) The name of the DB security group to add authorization to.ec2SecurityGroupId
(String ec2SecurityGroupId) Id of the EC2 security group to authorize.ec2SecurityGroupName
(String ec2SecurityGroupName) Name of the EC2 security group to authorize.ec2SecurityGroupOwnerId
(String ec2SecurityGroupOwnerId) Amazon Web Services account number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
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
-
dbSecurityGroupName
The name of the DB security group to add authorization to.
- Parameters:
dbSecurityGroupName
- The name of the DB security group to add authorization to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrip
The IP range to authorize.
- Parameters:
cidrip
- The IP range to authorize.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupName
Name of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
ec2SecurityGroupName
- Name of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupId
Id of the EC2 security group to authorize. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
ec2SecurityGroupId
- Id of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupOwnerId
AuthorizeDbSecurityGroupIngressRequest.Builder ec2SecurityGroupOwnerId(String ec2SecurityGroupOwnerId) Amazon Web Services account number of the owner of the EC2 security group specified in the
EC2SecurityGroupName
parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
ec2SecurityGroupOwnerId
- Amazon Web Services account number of the owner of the EC2 security group specified in theEC2SecurityGroupName
parameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups,EC2SecurityGroupId
must be provided. Otherwise,EC2SecurityGroupOwnerId
and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AuthorizeDbSecurityGroupIngressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AuthorizeDbSecurityGroupIngressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-