@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionCacheBehaviors extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about caching for the CloudFront distribution.
Constructor and Description |
---|
AwsCloudFrontDistributionCacheBehaviors() |
Modifier and Type | Method and Description |
---|---|
AwsCloudFrontDistributionCacheBehaviors |
clone() |
boolean |
equals(Object obj) |
List<AwsCloudFrontDistributionCacheBehavior> |
getItems()
The cache behaviors for the distribution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItems(Collection<AwsCloudFrontDistributionCacheBehavior> items)
The cache behaviors for the distribution.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionCacheBehaviors |
withItems(AwsCloudFrontDistributionCacheBehavior... items)
The cache behaviors for the distribution.
|
AwsCloudFrontDistributionCacheBehaviors |
withItems(Collection<AwsCloudFrontDistributionCacheBehavior> items)
The cache behaviors for the distribution.
|
public AwsCloudFrontDistributionCacheBehaviors()
public List<AwsCloudFrontDistributionCacheBehavior> getItems()
The cache behaviors for the distribution.
public void setItems(Collection<AwsCloudFrontDistributionCacheBehavior> items)
The cache behaviors for the distribution.
items
- The cache behaviors for the distribution.public AwsCloudFrontDistributionCacheBehaviors withItems(AwsCloudFrontDistributionCacheBehavior... items)
The cache behaviors for the distribution.
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
- The cache behaviors for the distribution.public AwsCloudFrontDistributionCacheBehaviors withItems(Collection<AwsCloudFrontDistributionCacheBehavior> items)
The cache behaviors for the distribution.
items
- The cache behaviors for the distribution.public String toString()
toString
in class Object
Object.toString()
public AwsCloudFrontDistributionCacheBehaviors clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.