Interface DBSubnetGroup.Builder

  • Method Details

    • dbSubnetGroupName

      DBSubnetGroup.Builder dbSubnetGroupName(String dbSubnetGroupName)

      The name of the subnet group.

      Parameters:
      dbSubnetGroupName - The name of the 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 subnet group.

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

      Provides the virtual private cloud (VPC) ID of the subnet group.

      Parameters:
      vpcId - Provides the virtual private cloud (VPC) ID of the 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 subnet group.

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

      Detailed information about one or more subnets within a subnet group.

      Parameters:
      subnets - Detailed information about one or more subnets within a subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnets

      DBSubnetGroup.Builder subnets(Subnet... subnets)

      Detailed information about one or more subnets within a subnet group.

      Parameters:
      subnets - Detailed information about one or more subnets within a subnet group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnets

      Detailed information about one or more subnets within a subnet group.

      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.