@Generated(value="software.amazon.awssdk:codegen") public class ResourceError extends Object implements StructuredPojo, ToCopyableBuilder<ResourceError.Builder,ResourceError>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceError.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceError.Builder |
builder() |
boolean |
equals(Object obj) |
FleetErrorCode |
errorCode()
Returns the value of the ErrorCode property for this object.
|
String |
errorCodeAsString()
Returns the value of the ErrorCode property for this object.
|
String |
errorMessage()
Returns the value of the ErrorMessage property for this object.
|
Instant |
errorTimestamp()
Returns the value of the ErrorTimestamp property for this object.
|
<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 ResourceError.Builder> |
serializableBuilderClass() |
ResourceError.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic FleetErrorCode errorCode()
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
errorCodeAsString().
FleetErrorCodepublic String errorCodeAsString()
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
errorCodeAsString().
FleetErrorCodepublic String errorMessage()
public Instant errorTimestamp()
public ResourceError.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ResourceError.Builder,ResourceError>public static ResourceError.Builder builder()
public static Class<? extends ResourceError.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.