Interface ResponseHeadersPolicyList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseHeadersPolicyList.Builder,ResponseHeadersPolicyList>,SdkBuilder<ResponseHeadersPolicyList.Builder,ResponseHeadersPolicyList>,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyList
@Mutable @NotThreadSafe 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.Builderitems(Collection<ResponseHeadersPolicySummary> items)The response headers policies in the list.ResponseHeadersPolicyList.Builderitems(Consumer<ResponseHeadersPolicySummary.Builder>... items)The response headers policies in the list.ResponseHeadersPolicyList.Builderitems(ResponseHeadersPolicySummary... items)The response headers policies in the list.ResponseHeadersPolicyList.BuildermaxItems(Integer maxItems)The maximum number of response headers policies requested.ResponseHeadersPolicyList.BuildernextMarker(String nextMarker)If there are more items in the list than are in this response, this element is present.ResponseHeadersPolicyList.Builderquantity(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, sdkFieldNameToField, 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
Markerfield 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 theMarkerfield 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.Builderavoiding the need to create one manually viaResponseHeadersPolicySummary.builder().When the
Consumercompletes,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)
-
-