Interface LaunchInstancesResponse.Builder

    • Method Detail

      • 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

        LaunchInstancesResponse.Builder instances​(Collection<InstanceCollection> 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

        LaunchInstancesResponse.Builder instances​(InstanceCollection... 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.
      • errors

        LaunchInstancesResponse.Builder errors​(Collection<LaunchInstancesError> 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

        LaunchInstancesResponse.Builder errors​(LaunchInstancesError... 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.