public class CustomErrorResponses extends Object implements Serializable
A complex type that contains zero or more CustomErrorResponse elements.
Constructor and Description |
---|
CustomErrorResponses() |
Modifier and Type | Method and Description |
---|---|
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 Integer getQuantity()
public void setQuantity(Integer quantity)
quantity
- The number of custom error responses for this distribution.public CustomErrorResponses withQuantity(Integer quantity)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.