Interface AuthorizeDbSecurityGroupIngressRequest.Builder

  • Method Details

    • dbSecurityGroupName

      AuthorizeDbSecurityGroupIngressRequest.Builder dbSecurityGroupName(String 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

      AuthorizeDbSecurityGroupIngressRequest.Builder ec2SecurityGroupName(String ec2SecurityGroupName)

      Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId 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 either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2SecurityGroupId

      AuthorizeDbSecurityGroupIngressRequest.Builder ec2SecurityGroupId(String ec2SecurityGroupId)

      Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId 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 either EC2SecurityGroupName or EC2SecurityGroupId 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 either EC2SecurityGroupName or EC2SecurityGroupId must be provided.

      Parameters:
      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 either EC2SecurityGroupName or EC2SecurityGroupId must be provided.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.