Interface DBSecurityGroup.Builder

  • Method Details

    • ownerId

      DBSecurityGroup.Builder ownerId(String ownerId)

      Provides the Amazon Web Services ID of the owner of a specific DB security group.

      Parameters:
      ownerId - Provides the Amazon Web Services ID of the owner of a specific DB security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSecurityGroupName

      DBSecurityGroup.Builder dbSecurityGroupName(String dbSecurityGroupName)

      Specifies the name of the DB security group.

      Parameters:
      dbSecurityGroupName - Specifies the name of the DB security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSecurityGroupDescription

      DBSecurityGroup.Builder dbSecurityGroupDescription(String dbSecurityGroupDescription)

      Provides the description of the DB security group.

      Parameters:
      dbSecurityGroupDescription - Provides the description of the DB security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      Provides the VpcId of the DB security group.

      Parameters:
      vpcId - Provides the VpcId of the DB security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2SecurityGroups

      DBSecurityGroup.Builder ec2SecurityGroups(Collection<EC2SecurityGroup> ec2SecurityGroups)

      Contains a list of EC2SecurityGroup elements.

      Parameters:
      ec2SecurityGroups - Contains a list of EC2SecurityGroup elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2SecurityGroups

      DBSecurityGroup.Builder ec2SecurityGroups(EC2SecurityGroup... ec2SecurityGroups)

      Contains a list of EC2SecurityGroup elements.

      Parameters:
      ec2SecurityGroups - Contains a list of EC2SecurityGroup elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2SecurityGroups

      DBSecurityGroup.Builder ec2SecurityGroups(Consumer<EC2SecurityGroup.Builder>... ec2SecurityGroups)

      Contains a list of EC2SecurityGroup elements.

      This is a convenience method that creates an instance of the EC2SecurityGroup.Builder avoiding the need to create one manually via EC2SecurityGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ec2SecurityGroups(List<EC2SecurityGroup>).

      Parameters:
      ec2SecurityGroups - a consumer that will call methods on EC2SecurityGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipRanges

      Contains a list of IPRange elements.

      Parameters:
      ipRanges - Contains a list of IPRange elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipRanges

      DBSecurityGroup.Builder ipRanges(IPRange... ipRanges)

      Contains a list of IPRange elements.

      Parameters:
      ipRanges - Contains a list of IPRange elements.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipRanges

      Contains a list of IPRange elements.

      This is a convenience method that creates an instance of the IPRange.Builder avoiding the need to create one manually via IPRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ipRanges(List<IPRange>).

      Parameters:
      ipRanges - a consumer that will call methods on IPRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dbSecurityGroupArn

      DBSecurityGroup.Builder dbSecurityGroupArn(String dbSecurityGroupArn)

      The Amazon Resource Name (ARN) for the DB security group.

      Parameters:
      dbSecurityGroupArn - The Amazon Resource Name (ARN) for the DB security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.