@Generated(value="software.amazon.awssdk:codegen") public final class CacheBehaviors extends Object implements ToCopyableBuilder<CacheBehaviors.Builder,CacheBehaviors>
A complex type that contains zero or more CacheBehavior
elements.
Modifier and Type | Class and Description |
---|---|
static interface |
CacheBehaviors.Builder |
Modifier and Type | Method and Description |
---|---|
static CacheBehaviors.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<CacheBehavior> |
items()
Optional: A complex type that contains cache behaviors for this distribution.
|
Integer |
quantity()
The number of cache behaviors for this distribution.
|
static Class<? extends CacheBehaviors.Builder> |
serializableBuilderClass() |
CacheBehaviors.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer quantity()
The number of cache behaviors for this distribution.
public List<CacheBehavior> items()
Optional: A complex type that contains cache behaviors for this distribution. If Quantity
is
0
, you can omit Items
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Quantity
is
0
, you can omit Items
.public CacheBehaviors.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CacheBehaviors.Builder,CacheBehaviors>
public static CacheBehaviors.Builder builder()
public static Class<? extends CacheBehaviors.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.