public static interface CachePolicyList.Builder extends SdkPojo, CopyableBuilder<CachePolicyList.Builder,CachePolicyList>
Modifier and Type | Method and Description |
---|---|
CachePolicyList.Builder |
items(CachePolicySummary... items)
Contains the cache policies in the list.
|
CachePolicyList.Builder |
items(Collection<CachePolicySummary> items)
Contains the cache policies in the list.
|
CachePolicyList.Builder |
items(Consumer<CachePolicySummary.Builder>... items)
Contains the cache policies in the list.
|
CachePolicyList.Builder |
maxItems(Integer maxItems)
The maximum number of cache policies requested.
|
CachePolicyList.Builder |
nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.
|
CachePolicyList.Builder |
quantity(Integer quantity)
The total number of cache policies returned in the response.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
CachePolicyList.Builder nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value
that you should use in the Marker
field of a subsequent request to continue listing cache
policies where you left off.
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains
the value that you should use in the Marker
field of a subsequent request to continue
listing cache policies where you left off.CachePolicyList.Builder maxItems(Integer maxItems)
The maximum number of cache policies requested.
maxItems
- The maximum number of cache policies requested.CachePolicyList.Builder quantity(Integer quantity)
The total number of cache policies returned in the response.
quantity
- The total number of cache policies returned in the response.CachePolicyList.Builder items(Collection<CachePolicySummary> items)
Contains the cache policies in the list.
items
- Contains the cache policies in the list.CachePolicyList.Builder items(CachePolicySummary... items)
Contains the cache policies in the list.
items
- Contains the cache policies in the list.CachePolicyList.Builder items(Consumer<CachePolicySummary.Builder>... items)
Contains the cache policies in the list.
This is a convenience that creates an instance of theList.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 © 2021. All rights reserved.