Interface DBSubnetGroup.Builder

  • Method Details

    • dbSubnetGroupName

      DBSubnetGroup.Builder dbSubnetGroupName(String dbSubnetGroupName)

      The name of the DB subnet group.

      Parameters:
      dbSubnetGroupName - The name of the DB subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbSubnetGroupDescription

      DBSubnetGroup.Builder dbSubnetGroupDescription(String dbSubnetGroupDescription)

      Provides the description of the DB subnet group.

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

      Provides the VpcId of the DB subnet group.

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

      DBSubnetGroup.Builder subnetGroupStatus(String subnetGroupStatus)

      Provides the status of the DB subnet group.

      Parameters:
      subnetGroupStatus - Provides the status of the DB subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnets

      Contains a list of Subnet elements.

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

      DBSubnetGroup.Builder subnets(Subnet... subnets)

      Contains a list of Subnet elements.

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

      Contains a list of Subnet elements.

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

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

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

      DBSubnetGroup.Builder dbSubnetGroupArn(String dbSubnetGroupArn)

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

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