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 theEC2SecurityGroupNameparameter.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
CIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcan't be provided.- Parameters:
cidrip- The IP range to revoke access from. Must be a valid CIDR range. IfCIDRIPis specified,EC2SecurityGroupName,EC2SecurityGroupIdandEC2SecurityGroupOwnerIdcan'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,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupName- The name of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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,
EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupId- The id of the EC2 security group to revoke access from. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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
EC2SecurityGroupNameparameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupOwnerId- The Amazon Web Services account number of the owner of the EC2 security group specified in theEC2SecurityGroupNameparameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise, EC2SecurityGroupOwnerId and eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-