Interface LaunchInstancesResponse.Builder

  • Method Details

    • autoScalingGroupName

      LaunchInstancesResponse.Builder autoScalingGroupName(String autoScalingGroupName)

      The name of the Auto Scaling group where the instances were launched.

      Parameters:
      autoScalingGroupName - The name of the Auto Scaling group where the instances were launched.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      LaunchInstancesResponse.Builder clientToken(String clientToken)

      The idempotency token used for the request, either customer-specified or auto-generated.

      Parameters:
      clientToken - The idempotency token used for the request, either customer-specified or auto-generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.

      Parameters:
      instances - A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.

      Parameters:
      instances - A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instances

      A list of successfully launched instances including details such as instance type, Availability Zone, subnet, lifecycle state, and instance IDs.

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

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

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

      A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.

      Parameters:
      errors - A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.

      Parameters:
      errors - A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      A list of errors encountered during the launch attempt including details about failed instance launches with their corresponding error codes and messages.

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

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

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