@Generated(value="software.amazon.awssdk:codegen") public class FleetError extends Object implements StructuredPojo, ToCopyableBuilder<FleetError.Builder,FleetError>
Describes a fleet error.
Modifier and Type | Class and Description |
---|---|
static interface |
FleetError.Builder |
Modifier and Type | Method and Description |
---|---|
static FleetError.Builder |
builder() |
boolean |
equals(Object obj) |
FleetErrorCode |
errorCode()
The error code.
|
String |
errorCodeString()
The error code.
|
String |
errorMessage()
The error message.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends FleetError.Builder> |
serializableBuilderClass() |
FleetError.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public FleetErrorCode errorCode()
The error code.
If the service returns an enum value that is not available in the current SDK version, errorCode
will
return FleetErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
errorCodeString()
.
FleetErrorCode
public String errorCodeString()
The error code.
If the service returns an enum value that is not available in the current SDK version, errorCode
will
return FleetErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
errorCodeString()
.
FleetErrorCode
public String errorMessage()
The error message.
public FleetError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FleetError.Builder,FleetError>
public static FleetError.Builder builder()
public static Class<? extends FleetError.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.