Interface VpcConfiguration.Builder

  • Method Details

    • subnets

      The IDs of the subnets in which to launch instances. You must specify at least one subnet.

      Parameters:
      subnets - The IDs of the subnets in which to launch instances. You must specify at least one subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subnets

      VpcConfiguration.Builder subnets(String... subnets)

      The IDs of the subnets in which to launch instances. You must specify at least one subnet.

      Parameters:
      subnets - The IDs of the subnets in which to launch instances. You must specify at least one subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      VpcConfiguration.Builder securityGroups(Collection<String> securityGroups)

      The IDs of the security groups to associate with the instances. You must specify at least one security group.

      Parameters:
      securityGroups - The IDs of the security groups to associate with the instances. You must specify at least one security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroups

      VpcConfiguration.Builder securityGroups(String... securityGroups)

      The IDs of the security groups to associate with the instances. You must specify at least one security group.

      Parameters:
      securityGroups - The IDs of the security groups to associate with the instances. You must specify at least one security group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.