@Generated(value="software.amazon.awssdk:codegen") public final class WorldFailure extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorldFailure.Builder,WorldFailure>
Information about a failed world.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorldFailure.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorldFailure.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
WorldGenerationJobErrorCode |
failureCode()
The failure code of the world export job if it failed:
|
String |
failureCodeAsString()
The failure code of the world export job if it failed:
|
Integer |
failureCount()
The number of failed worlds.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
sampleFailureReason()
The sample reason why the world failed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorldFailure.Builder> |
serializableBuilderClass() |
WorldFailure.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final WorldGenerationJobErrorCode failureCode()
The failure code of the world export job if it failed:
Internal service error.
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
The specified resource could not be found.
The request was throttled.
An input parameter in the request is not valid.
If the service returns an enum value that is not available in the current SDK version, failureCode will
return WorldGenerationJobErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from failureCodeAsString().
Internal service error.
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
The specified resource could not be found.
The request was throttled.
An input parameter in the request is not valid.
WorldGenerationJobErrorCodepublic final String failureCodeAsString()
The failure code of the world export job if it failed:
Internal service error.
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
The specified resource could not be found.
The request was throttled.
An input parameter in the request is not valid.
If the service returns an enum value that is not available in the current SDK version, failureCode will
return WorldGenerationJobErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from failureCodeAsString().
Internal service error.
The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
The specified resource could not be found.
The request was throttled.
An input parameter in the request is not valid.
WorldGenerationJobErrorCodepublic final String sampleFailureReason()
The sample reason why the world failed. World errors are aggregated. A sample is used as the
sampleFailureReason.
sampleFailureReason.public final Integer failureCount()
The number of failed worlds.
public WorldFailure.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorldFailure.Builder,WorldFailure>public static WorldFailure.Builder builder()
public static Class<? extends WorldFailure.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.