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
Modifier and TypeMethodDescriptionThe response headers policies in the list.items
(Consumer<ResponseHeadersPolicySummary.Builder>... items) The response headers policies in the list.items
(ResponseHeadersPolicySummary... items) The response headers policies in the list.The maximum number of response headers policies requested.nextMarker
(String nextMarker) If there are more items in the list than are in this response, this element is present.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 Details
-
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
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
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
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
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
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 toitems(List<ResponseHeadersPolicySummary>)
.- 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:
-