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
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
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
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.Builderavoiding the need to create one manually viaResponseHeadersPolicySummary.builder().When the
Consumercompletes,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:
-