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 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, 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,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupName- Name of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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,
EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupId- Id of the EC2 security group to authorize. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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
EC2SecurityGroupNameparameter. The Amazon Web Services access key ID isn't an acceptable value. For VPC DB security groups,EC2SecurityGroupIdmust be provided. Otherwise,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust be provided.- Parameters:
ec2SecurityGroupOwnerId- 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,EC2SecurityGroupOwnerIdand eitherEC2SecurityGroupNameorEC2SecurityGroupIdmust 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-