public static interface CacheBehaviors.Builder extends CopyableBuilder<CacheBehaviors.Builder,CacheBehaviors>
| Modifier and Type | Method and Description |
|---|---|
CacheBehaviors.Builder |
items(CacheBehavior... items)
Optional: A complex type that contains cache behaviors for this distribution.
|
CacheBehaviors.Builder |
items(Collection<CacheBehavior> items)
Optional: A complex type that contains cache behaviors for this distribution.
|
CacheBehaviors.Builder |
items(Consumer<CacheBehavior.Builder>... items)
Optional: A complex type that contains cache behaviors for this distribution.
|
CacheBehaviors.Builder |
quantity(Integer quantity)
The number of cache behaviors for this distribution.
|
copyapply, buildCacheBehaviors.Builder quantity(Integer quantity)
The number of cache behaviors for this distribution.
quantity - The number of cache behaviors for this distribution.CacheBehaviors.Builder items(Collection<CacheBehavior> items)
Optional: A complex type that contains cache behaviors for this distribution. If Quantity is
0, you can omit Items.
items - Optional: A complex type that contains cache behaviors for this distribution. If Quantity
is 0, you can omit Items.CacheBehaviors.Builder items(CacheBehavior... items)
Optional: A complex type that contains cache behaviors for this distribution. If Quantity is
0, you can omit Items.
items - Optional: A complex type that contains cache behaviors for this distribution. If Quantity
is 0, you can omit Items.CacheBehaviors.Builder items(Consumer<CacheBehavior.Builder>... items)
Optional: A complex type that contains cache behaviors for this distribution. If Quantity is
0, you can omit Items.
List.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #items(List) .items - a consumer that will call methods on List.Builder #items(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.