@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreatePartitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchCreatePartitionResult() |
Modifier and Type | Method and Description |
---|---|
BatchCreatePartitionResult |
clone() |
boolean |
equals(Object obj) |
List<PartitionError> |
getErrors()
The errors encountered when trying to create the requested partitions.
|
int |
hashCode() |
void |
setErrors(Collection<PartitionError> errors)
The errors encountered when trying to create the requested partitions.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreatePartitionResult |
withErrors(Collection<PartitionError> errors)
The errors encountered when trying to create the requested partitions.
|
BatchCreatePartitionResult |
withErrors(PartitionError... errors)
The errors encountered when trying to create the requested partitions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PartitionError> getErrors()
The errors encountered when trying to create the requested partitions.
public void setErrors(Collection<PartitionError> errors)
The errors encountered when trying to create the requested partitions.
errors
- The errors encountered when trying to create the requested partitions.public BatchCreatePartitionResult withErrors(PartitionError... errors)
The errors encountered when trying to create the requested partitions.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- The errors encountered when trying to create the requested partitions.public BatchCreatePartitionResult withErrors(Collection<PartitionError> errors)
The errors encountered when trying to create the requested partitions.
errors
- The errors encountered when trying to create the requested partitions.public String toString()
toString
in class Object
Object.toString()
public BatchCreatePartitionResult clone()