@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorldFailure extends Object implements Serializable, Cloneable, StructuredPojo
Information about a failed world.
Constructor and Description |
---|
WorldFailure() |
Modifier and Type | Method and Description |
---|---|
WorldFailure |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The failure code of the world export job if it failed:
|
Integer |
getFailureCount()
The number of failed worlds.
|
String |
getSampleFailureReason()
The sample reason why the world failed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureCode(String failureCode)
The failure code of the world export job if it failed:
|
void |
setFailureCount(Integer failureCount)
The number of failed worlds.
|
void |
setSampleFailureReason(String sampleFailureReason)
The sample reason why the world failed.
|
String |
toString()
Returns a string representation of this object.
|
WorldFailure |
withFailureCode(String failureCode)
The failure code of the world export job if it failed:
|
WorldFailure |
withFailureCode(WorldGenerationJobErrorCode failureCode)
The failure code of the world export job if it failed:
|
WorldFailure |
withFailureCount(Integer failureCount)
The number of failed worlds.
|
WorldFailure |
withSampleFailureReason(String sampleFailureReason)
The sample reason why the world failed.
|
public void setFailureCode(String 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.
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.
WorldGenerationJobErrorCode
public String getFailureCode()
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.
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.
WorldGenerationJobErrorCode
public WorldFailure withFailureCode(String 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.
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.
WorldGenerationJobErrorCode
public WorldFailure withFailureCode(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.
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.
WorldGenerationJobErrorCode
public void setSampleFailureReason(String sampleFailureReason)
The sample reason why the world failed. World errors are aggregated. A sample is used as the
sampleFailureReason
.
sampleFailureReason
- The sample reason why the world failed. World errors are aggregated. A sample is used as the
sampleFailureReason
.public String getSampleFailureReason()
The sample reason why the world failed. World errors are aggregated. A sample is used as the
sampleFailureReason
.
sampleFailureReason
.public WorldFailure withSampleFailureReason(String sampleFailureReason)
The sample reason why the world failed. World errors are aggregated. A sample is used as the
sampleFailureReason
.
sampleFailureReason
- The sample reason why the world failed. World errors are aggregated. A sample is used as the
sampleFailureReason
.public void setFailureCount(Integer failureCount)
The number of failed worlds.
failureCount
- The number of failed worlds.public Integer getFailureCount()
The number of failed worlds.
public WorldFailure withFailureCount(Integer failureCount)
The number of failed worlds.
failureCount
- The number of failed worlds.public String toString()
toString
in class Object
Object.toString()
public WorldFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.