Class DescribeFleetError
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DescribeFleetError.Builder,DescribeFleetError>
Describes the instances that could not be launched by the fleet.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DescribeFleetError.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe error code that indicates why the instance could not be launched.final StringThe error message that describes why the instance could not be launched.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The launch templates and overrides that were used for launching the instances.final InstanceLifecycleIndicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block, or Interruptible Capacity Reservation instance.final StringIndicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block, or Interruptible Capacity Reservation instance.static Class<? extends DescribeFleetError.Builder>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
-
launchTemplateAndOverrides
The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
- Returns:
- The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.
-
lifecycle
Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block, or Interruptible Capacity Reservation instance.
If the service returns an enum value that is not available in the current SDK version,
lifecyclewill returnInstanceLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlifecycleAsString().- Returns:
- Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block, or Interruptible Capacity Reservation instance.
- See Also:
-
lifecycleAsString
Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block, or Interruptible Capacity Reservation instance.
If the service returns an enum value that is not available in the current SDK version,
lifecyclewill returnInstanceLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlifecycleAsString().- Returns:
- Indicates if the instance that could not be launched was a Spot, On-Demand, Capacity Block, or Interruptible Capacity Reservation instance.
- See Also:
-
errorCode
The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.
- Returns:
- The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.
-
errorMessage
The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.
- Returns:
- The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeFleetError.Builder,DescribeFleetError>
-
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
-