@Generated(value="software.amazon.awssdk:codegen") public final class DescribeFleetError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DescribeFleetError.Builder,DescribeFleetError>
Describes the instances that could not be launched by the fleet.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeFleetError.Builder |
Modifier and Type | Method and Description |
---|---|
static DescribeFleetError.Builder |
builder() |
boolean |
equals(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 DescribeFleetError.Builder> |
serializableBuilderClass() |
DescribeFleetError.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public LaunchTemplateAndOverridesResponse launchTemplateAndOverrides()
The launch templates and overrides that were used for launching the instances. Any parameters that you specify in the Overrides override the same parameters in the launch template.
public 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 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 String errorCode()
The error code that indicates why the instance could not be launched. For more information about error codes, see Error Codes.
public String errorMessage()
The error message that describes why the instance could not be launched. For more information about error messages, see ee Error Codes.
public DescribeFleetError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeFleetError.Builder,DescribeFleetError>
public static DescribeFleetError.Builder builder()
public static Class<? extends DescribeFleetError.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.