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()
Optional: A complex type that contains custom error responses for this
distribution.
|
Integer |
getQuantity()
The number of custom error responses for this distribution.
|
int |
hashCode() |
void |
setItems(Collection<CustomErrorResponse> items)
Optional: A complex type that contains custom error responses for this
distribution.
|
void |
setQuantity(Integer quantity)
The number of custom error responses for this distribution.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CustomErrorResponses |
withItems(Collection<CustomErrorResponse> items)
Optional: A complex type that contains custom error responses for this
distribution.
|
CustomErrorResponses |
withItems(CustomErrorResponse... items)
Optional: A complex type that contains custom error responses for this
distribution.
|
CustomErrorResponses |
withQuantity(Integer quantity)
The number of custom error responses for this distribution.
|
public void setQuantity(Integer quantity)
quantity
- The number of custom error responses for this distribution.public Integer getQuantity()
public CustomErrorResponses withQuantity(Integer quantity)
quantity
- The number of custom error responses for this distribution.public List<CustomErrorResponse> getItems()
public void setItems(Collection<CustomErrorResponse> items)
items
- Optional: A complex type that contains custom error responses for
this distribution. If Quantity is 0, you can omit 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
- Optional: A complex type that contains custom error responses for
this distribution. If Quantity is 0, you can omit Items.public CustomErrorResponses withItems(Collection<CustomErrorResponse> items)
items
- Optional: A complex type that contains custom error responses for
this distribution. If Quantity is 0, you can omit Items.public String toString()
toString
in class Object
Object.toString()
public CustomErrorResponses clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.