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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchInstancesError.Builder,LaunchInstancesError> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-