Interface LaunchInstancesError.Builder

    • Method Detail

      • instanceType

        LaunchInstancesError.Builder instanceType​(String instanceType)

        The instance type that failed to launch.

        Parameters:
        instanceType - The instance type that failed to launch.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • marketType

        LaunchInstancesError.Builder marketType​(String marketType)

        The market type (On-Demand or Spot) that encountered the launch error.

        Parameters:
        marketType - The market type (On-Demand or Spot) that encountered the launch error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        LaunchInstancesError.Builder subnetId​(String subnetId)

        The subnet ID where the instance launch was attempted.

        Parameters:
        subnetId - The subnet ID where the instance launch was attempted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZone

        LaunchInstancesError.Builder availabilityZone​(String availabilityZone)

        The Availability Zone where the instance launch was attempted.

        Parameters:
        availabilityZone - The Availability Zone where the instance launch was attempted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZoneId

        LaunchInstancesError.Builder availabilityZoneId​(String availabilityZoneId)

        The Availability Zone ID where the launch error occurred.

        Parameters:
        availabilityZoneId - The Availability Zone ID where the launch error occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

        LaunchInstancesError.Builder errorCode​(String errorCode)

        The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).

        Parameters:
        errorCode - The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        LaunchInstancesError.Builder errorMessage​(String errorMessage)

        A descriptive message providing details about the error encountered during the launch attempt.

        Parameters:
        errorMessage - A descriptive message providing details about the error encountered during the launch attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.