Interface ResponseHeadersPolicyList.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ResponseHeadersPolicyList.Builder,ResponseHeadersPolicyList>
,SdkBuilder<ResponseHeadersPolicyList.Builder,ResponseHeadersPolicyList>
,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyList
public static interface ResponseHeadersPolicyList.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyList.Builder,ResponseHeadersPolicyList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyList.Builder
items(Collection<ResponseHeadersPolicySummary> items)
The response headers policies in the list.ResponseHeadersPolicyList.Builder
items(Consumer<ResponseHeadersPolicySummary.Builder>... items)
The response headers policies in the list.ResponseHeadersPolicyList.Builder
items(ResponseHeadersPolicySummary... items)
The response headers policies in the list.ResponseHeadersPolicyList.Builder
maxItems(Integer maxItems)
The maximum number of response headers policies requested.ResponseHeadersPolicyList.Builder
nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.ResponseHeadersPolicyList.Builder
quantity(Integer quantity)
The number of response headers policies returned.-
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
ResponseHeadersPolicyList.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 response headers 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 response headers policies where you left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
ResponseHeadersPolicyList.Builder maxItems(Integer maxItems)
The maximum number of response headers policies requested.
- Parameters:
maxItems
- The maximum number of response headers policies requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
ResponseHeadersPolicyList.Builder quantity(Integer quantity)
The number of response headers policies returned.
- Parameters:
quantity
- The number of response headers policies returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ResponseHeadersPolicyList.Builder items(Collection<ResponseHeadersPolicySummary> items)
The response headers policies in the list.
- Parameters:
items
- The response headers policies in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ResponseHeadersPolicyList.Builder items(ResponseHeadersPolicySummary... items)
The response headers policies in the list.
- Parameters:
items
- The response headers policies in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ResponseHeadersPolicyList.Builder items(Consumer<ResponseHeadersPolicySummary.Builder>... items)
The response headers policies in the list.
This is a convenience method that creates an instance of theResponseHeadersPolicySummary.Builder
avoiding the need to create one manually viaResponseHeadersPolicySummary.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 onResponseHeadersPolicySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection
)
-
-