Class Paths
- java.lang.Object
-
- com.amazonaws.services.cloudfront.model.Paths
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Paths extends Object implements Serializable, Cloneable
A complex type that contains information about the objects that you want to invalidate.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Paths()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Paths
clone()
boolean
equals(Object obj)
List<String>
getItems()
A complex type that contains a list of the objects that you want to invalidate.Integer
getQuantity()
The number of objects that you want to invalidate.int
hashCode()
void
setItems(Collection<String> items)
A complex type that contains a list of the objects that you want to invalidate.void
setQuantity(Integer quantity)
The number of objects that you want to invalidate.String
toString()
Returns a string representation of this object; useful for testing and debugging.Paths
withItems(String... items)
A complex type that contains a list of the objects that you want to invalidate.Paths
withItems(Collection<String> items)
A complex type that contains a list of the objects that you want to invalidate.Paths
withQuantity(Integer quantity)
The number of objects that you want to invalidate.
-
-
-
Method Detail
-
setQuantity
public void setQuantity(Integer quantity)
The number of objects that you want to invalidate.- Parameters:
quantity
- The number of objects that you want to invalidate.
-
getQuantity
public Integer getQuantity()
The number of objects that you want to invalidate.- Returns:
- The number of objects that you want to invalidate.
-
withQuantity
public Paths withQuantity(Integer quantity)
The number of objects that you want to invalidate.- Parameters:
quantity
- The number of objects that you want to invalidate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<String> getItems()
A complex type that contains a list of the objects that you want to invalidate.- Returns:
- A complex type that contains a list of the objects that you want to invalidate.
-
setItems
public void setItems(Collection<String> items)
A complex type that contains a list of the objects that you want to invalidate.- Parameters:
items
- A complex type that contains a list of the objects that you want to invalidate.
-
withItems
public Paths withItems(String... items)
A complex type that contains a list of the objects that you want to invalidate.NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
orwithItems(java.util.Collection)
if you want to override the existing values.- Parameters:
items
- A complex type that contains a list of the objects that you want to invalidate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
public Paths withItems(Collection<String> items)
A complex type that contains a list of the objects that you want to invalidate.- Parameters:
items
- A complex type that contains a list of the objects that you want to invalidate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-