@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailureSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about worlds that failed.
Constructor and Description |
---|
FailureSummary() |
Modifier and Type | Method and Description |
---|---|
FailureSummary |
clone() |
boolean |
equals(Object obj) |
List<WorldFailure> |
getFailures()
The worlds that failed.
|
Integer |
getTotalFailureCount()
The total number of failures.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailures(Collection<WorldFailure> failures)
The worlds that failed.
|
void |
setTotalFailureCount(Integer totalFailureCount)
The total number of failures.
|
String |
toString()
Returns a string representation of this object.
|
FailureSummary |
withFailures(Collection<WorldFailure> failures)
The worlds that failed.
|
FailureSummary |
withFailures(WorldFailure... failures)
The worlds that failed.
|
FailureSummary |
withTotalFailureCount(Integer totalFailureCount)
The total number of failures.
|
public void setTotalFailureCount(Integer totalFailureCount)
The total number of failures.
totalFailureCount
- The total number of failures.public Integer getTotalFailureCount()
The total number of failures.
public FailureSummary withTotalFailureCount(Integer totalFailureCount)
The total number of failures.
totalFailureCount
- The total number of failures.public List<WorldFailure> getFailures()
The worlds that failed.
public void setFailures(Collection<WorldFailure> failures)
The worlds that failed.
failures
- The worlds that failed.public FailureSummary withFailures(WorldFailure... failures)
The worlds that failed.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- The worlds that failed.public FailureSummary withFailures(Collection<WorldFailure> failures)
The worlds that failed.
failures
- The worlds that failed.public String toString()
toString
in class Object
Object.toString()
public FailureSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.