Interface CachePolicyList.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CachePolicyList.Builder,CachePolicyList>
,SdkBuilder<CachePolicyList.Builder,CachePolicyList>
,SdkPojo
- Enclosing class:
- CachePolicyList
public static interface CachePolicyList.Builder extends SdkPojo, CopyableBuilder<CachePolicyList.Builder,CachePolicyList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
items(CachePolicySummary... 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
nextMarker
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.- Parameters:
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 theMarker
field of a subsequent request to continue listing cache policies where you left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
CachePolicyList.Builder maxItems(Integer maxItems)
The maximum number of cache policies requested.
- Parameters:
maxItems
- The maximum number of cache policies requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
CachePolicyList.Builder quantity(Integer quantity)
The total number of cache policies returned in the response.
- Parameters:
quantity
- The total number of cache policies returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CachePolicyList.Builder items(Collection<CachePolicySummary> items)
Contains the cache policies in the list.
- Parameters:
items
- Contains the cache policies in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CachePolicyList.Builder items(CachePolicySummary... items)
Contains the cache policies in the list.
- Parameters:
items
- Contains the cache policies in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CachePolicyList.Builder items(Consumer<CachePolicySummary.Builder>... items)
Contains the cache policies in the list.
This is a convenience method that creates an instance of theCachePolicySummary.Builder
avoiding the need to create one manually viaCachePolicySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#items(List
.) - Parameters:
items
- a consumer that will call methods onCachePolicySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection
)
-
-