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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLaunchInstancesError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone where the instance launch was attempted.StringavailabilityZoneId()The Availability Zone ID where the launch error occurred.static LaunchInstancesError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code representing the type of error encountered (e.g., InsufficientInstanceCapacity).StringerrorMessage()A descriptive message providing details about the error encountered during the launch attempt.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceType()The instance type that failed to launch.StringmarketType()The market type (On-Demand or Spot) that encountered the launch error.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LaunchInstancesError.Builder>serializableBuilderClass()StringsubnetId()The subnet ID where the instance launch was attempted.LaunchInstancesError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
toBuilder
public LaunchInstancesError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchInstancesError.Builder,LaunchInstancesError>
-
builder
public static LaunchInstancesError.Builder builder()
-
serializableBuilderClass
public static Class<? extends LaunchInstancesError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-