@Generated(value="software.amazon.awssdk:codegen") public final class CreateFleetError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateFleetError.Builder,CreateFleetError>
Describes the instances that could not be launched by the fleet.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateFleetError.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateFleetError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The error code that indicates why the instance could not be launched.
|
String |
errorMessage()
The error message that describes why the instance could not be launched.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LaunchTemplateAndOverridesResponse |
launchTemplateAndOverrides()
The launch templates and overrides that were used for launching the instances.
|
InstanceLifecycle |
lifecycle()
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
|
String |
lifecycleAsString()
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateFleetError.Builder> |
serializableBuilderClass() |
CreateFleetError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final LaunchTemplateAndOverridesResponse 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.
public final InstanceLifecycle lifecycle()
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
If the service returns an enum value that is not available in the current SDK version, lifecycle
will
return InstanceLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lifecycleAsString()
.
InstanceLifecycle
public final String lifecycleAsString()
Indicates if the instance that could not be launched was a Spot Instance or On-Demand Instance.
If the service returns an enum value that is not available in the current SDK version, lifecycle
will
return InstanceLifecycle.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
lifecycleAsString()
.
InstanceLifecycle
public final String errorCode()
The error code that indicates why the instance could not be launched. For more information about error codes, see Error codes.
public final String errorMessage()
The error message that describes why the instance could not be launched. For more information about error messages, see Error codes.
public CreateFleetError.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateFleetError.Builder,CreateFleetError>
public static CreateFleetError.Builder builder()
public static Class<? extends CreateFleetError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.