Interface CreateFleetResponse.Builder

    • Method Detail

      • fleetId

        CreateFleetResponse.Builder fleetId​(String fleetId)

        The ID of the EC2 Fleet.

        Parameters:
        fleetId - The ID of the EC2 Fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        CreateFleetResponse.Builder errors​(Collection<CreateFleetError> errors)

        Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.

        Parameters:
        errors - Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errors

        CreateFleetResponse.Builder errors​(CreateFleetError... errors)

        Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.

        Parameters:
        errors - Information about the instances that could not be launched by the fleet. Supported only for fleets of type instant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instances

        CreateFleetResponse.Builder instances​(Collection<CreateFleetInstance> instances)

        Information about the instances that were launched by the fleet. Supported only for fleets of type instant.

        Parameters:
        instances - Information about the instances that were launched by the fleet. Supported only for fleets of type instant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instances

        CreateFleetResponse.Builder instances​(CreateFleetInstance... instances)

        Information about the instances that were launched by the fleet. Supported only for fleets of type instant.

        Parameters:
        instances - Information about the instances that were launched by the fleet. Supported only for fleets of type instant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.