Class LaunchInstancesError

    • Method Detail

      • instanceType

        public final String instanceType()

        The instance type that failed to launch.

        Returns:
        The instance type that failed to launch.
      • marketType

        public final String marketType()

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

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

        public final String subnetId()

        The subnet ID where the instance launch was attempted.

        Returns:
        The subnet ID where the instance launch was attempted.
      • availabilityZone

        public final String availabilityZone()

        The Availability Zone where the instance launch was attempted.

        Returns:
        The Availability Zone where the instance launch was attempted.
      • availabilityZoneId

        public final String availabilityZoneId()

        The Availability Zone ID where the launch error occurred.

        Returns:
        The Availability Zone ID where the launch error occurred.
      • errorCode

        public final String errorCode()

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

        Returns:
        The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).
      • errorMessage

        public final String errorMessage()

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

        Returns:
        A descriptive message providing details about the error encountered during the launch attempt.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)