Class LaunchInstancesError
java.lang.Object
software.amazon.awssdk.services.autoscaling.model.LaunchInstancesError
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchInstancesError.Builder,LaunchInstancesError>
@Generated("software.amazon.awssdk:codegen")
public final class LaunchInstancesError
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<LaunchInstancesError.Builder,LaunchInstancesError>
Contains details about errors encountered during instance launch attempts.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Availability Zone where the instance launch was attempted.final StringThe Availability Zone ID where the launch error occurred.static LaunchInstancesError.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).final StringA descriptive message providing details about the error encountered during the launch attempt.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe instance type that failed to launch.final StringThe market type (On-Demand or Spot) that encountered the launch error.static Class<? extends LaunchInstancesError.Builder>final StringsubnetId()The subnet ID where the instance launch was attempted.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
instanceType
The instance type that failed to launch.
- Returns:
- The instance type that failed to launch.
-
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
The subnet ID where the instance launch was attempted.
- Returns:
- The subnet ID where the instance launch was attempted.
-
availabilityZone
The Availability Zone where the instance launch was attempted.
- Returns:
- The Availability Zone where the instance launch was attempted.
-
availabilityZoneId
The Availability Zone ID where the launch error occurred.
- Returns:
- The Availability Zone ID where the launch error occurred.
-
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
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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchInstancesError.Builder,LaunchInstancesError>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-