Interface InstanceRequirementsRequest.Builder

  • Method Details

    • allowedInstanceTypes

      InstanceRequirementsRequest.Builder allowedInstanceTypes(Collection<String> allowedInstanceTypes)

      A list of specific instance types or instance families that Amazon ECS can launch (for example, m5.large or g5). When specified, only these instance types are used.

      Parameters:
      allowedInstanceTypes - A list of specific instance types or instance families that Amazon ECS can launch (for example, m5.large or g5). When specified, only these instance types are used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedInstanceTypes

      InstanceRequirementsRequest.Builder allowedInstanceTypes(String... allowedInstanceTypes)

      A list of specific instance types or instance families that Amazon ECS can launch (for example, m5.large or g5). When specified, only these instance types are used.

      Parameters:
      allowedInstanceTypes - A list of specific instance types or instance families that Amazon ECS can launch (for example, m5.large or g5). When specified, only these instance types are used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.