Interface OriginRequestPolicyList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OriginRequestPolicyList.Builder,OriginRequestPolicyList>,SdkBuilder<OriginRequestPolicyList.Builder,OriginRequestPolicyList>,SdkPojo
- Enclosing class:
- OriginRequestPolicyList
@Mutable @NotThreadSafe public static interface OriginRequestPolicyList.Builder extends SdkPojo, CopyableBuilder<OriginRequestPolicyList.Builder,OriginRequestPolicyList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OriginRequestPolicyList.Builderitems(Collection<OriginRequestPolicySummary> items)Contains the origin request policies in the list.OriginRequestPolicyList.Builderitems(Consumer<OriginRequestPolicySummary.Builder>... items)Contains the origin request policies in the list.OriginRequestPolicyList.Builderitems(OriginRequestPolicySummary... items)Contains the origin request policies in the list.OriginRequestPolicyList.BuildermaxItems(Integer maxItems)The maximum number of origin request policies requested.OriginRequestPolicyList.BuildernextMarker(String nextMarker)If there are more items in the list than are in this response, this element is present.OriginRequestPolicyList.Builderquantity(Integer quantity)The total number of origin request 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
nextMarker
OriginRequestPolicyList.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 origin request 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 origin request policies where you left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
OriginRequestPolicyList.Builder maxItems(Integer maxItems)
The maximum number of origin request policies requested.
- Parameters:
maxItems- The maximum number of origin request policies requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
OriginRequestPolicyList.Builder quantity(Integer quantity)
The total number of origin request policies returned in the response.
- Parameters:
quantity- The total number of origin request policies returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
OriginRequestPolicyList.Builder items(Collection<OriginRequestPolicySummary> items)
Contains the origin request policies in the list.
- Parameters:
items- Contains the origin request policies in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
OriginRequestPolicyList.Builder items(OriginRequestPolicySummary... items)
Contains the origin request policies in the list.
- Parameters:
items- Contains the origin request policies in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
OriginRequestPolicyList.Builder items(Consumer<OriginRequestPolicySummary.Builder>... items)
Contains the origin request policies in the list.
This is a convenience method that creates an instance of theOriginRequestPolicySummary.Builderavoiding the need to create one manually viaOriginRequestPolicySummary.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 onOriginRequestPolicySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
-