Interface RevokeDbSecurityGroupIngressRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RevokeDbSecurityGroupIngressRequest.Builder,
,RevokeDbSecurityGroupIngressRequest> RdsRequest.Builder
,SdkBuilder<RevokeDbSecurityGroupIngressRequest.Builder,
,RevokeDbSecurityGroupIngressRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RevokeDbSecurityGroupIngressRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe IP range to revoke access from.dbSecurityGroupName
(String dbSecurityGroupName) The name of the DB security group to revoke ingress from.ec2SecurityGroupId
(String ec2SecurityGroupId) The id of the EC2 security group to revoke access from.ec2SecurityGroupName
(String ec2SecurityGroupName) The name of the EC2 security group to revoke access from.ec2SecurityGroupOwnerId
(String ec2SecurityGroupOwnerId) The 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, sdkFields
-
Method Details
-
dbSecurityGroupName
The name of the DB security group to revoke ingress from.
- Parameters:
dbSecurityGroupName
- The name of the DB security group to revoke ingress from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrip
The IP range to revoke access from. Must be a valid CIDR range. If
CIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
can't be provided.- Parameters:
cidrip
- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIP
is specified,EC2SecurityGroupName
,EC2SecurityGroupId
andEC2SecurityGroupOwnerId
can't be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2SecurityGroupName
The name of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
ec2SecurityGroupName
- The name of the EC2 security group to revoke access from. 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
The id of the EC2 security group to revoke access from. For VPC DB security groups,
EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupName
orEC2SecurityGroupId
must be provided.- Parameters:
ec2SecurityGroupId
- The id of the EC2 security group to revoke access from. 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
The 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
- The 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
RevokeDbSecurityGroupIngressRequest.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
RevokeDbSecurityGroupIngressRequest.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.
-