public class CustomErrorResponses extends Object implements Serializable, Cloneable
Constructor and Description |
---|
CustomErrorResponses() |
Modifier and Type | Method and Description |
---|---|
CustomErrorResponses |
clone() |
boolean |
equals(Object obj) |
List<CustomErrorResponse> |
getItems() |
Integer |
getQuantity() |
int |
hashCode() |
void |
setItems(Collection<CustomErrorResponse> items) |
void |
setQuantity(Integer quantity) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CustomErrorResponses |
withItems(Collection<CustomErrorResponse> items) |
CustomErrorResponses |
withItems(CustomErrorResponse... items)
NOTE: This method appends the values to the existing list (if
any).
|
CustomErrorResponses |
withQuantity(Integer quantity) |
public void setQuantity(Integer quantity)
quantity
- public Integer getQuantity()
public CustomErrorResponses withQuantity(Integer quantity)
quantity
- public List<CustomErrorResponse> getItems()
public void setItems(Collection<CustomErrorResponse> items)
items
- public CustomErrorResponses withItems(CustomErrorResponse... items)
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection)
or
withItems(java.util.Collection)
if you want to override the
existing values.
items
- public CustomErrorResponses withItems(Collection<CustomErrorResponse> items)
items
- public String toString()
toString
in class Object
Object.toString()
public CustomErrorResponses clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.