Interface AuthorizeDbSecurityGroupIngressRequest.Builder

    • Method Detail

      • 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.
      • 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.