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