Interface OriginAccessControlList.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<OriginAccessControlList.Builder,OriginAccessControlList>
,SdkBuilder<OriginAccessControlList.Builder,OriginAccessControlList>
,SdkPojo
- Enclosing class:
- OriginAccessControlList
public static interface OriginAccessControlList.Builder extends SdkPojo, CopyableBuilder<OriginAccessControlList.Builder,OriginAccessControlList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OriginAccessControlList.Builder
isTruncated(Boolean isTruncated)
If there are more items in the list than are in this response, this value istrue
.OriginAccessControlList.Builder
items(Collection<OriginAccessControlSummary> items)
Contains the origin access controls in the list.OriginAccessControlList.Builder
items(Consumer<OriginAccessControlSummary.Builder>... items)
Contains the origin access controls in the list.OriginAccessControlList.Builder
items(OriginAccessControlSummary... items)
Contains the origin access controls in the list.OriginAccessControlList.Builder
marker(String marker)
The value of theMarker
field that was provided in the request.OriginAccessControlList.Builder
maxItems(Integer maxItems)
The maximum number of origin access controls requested.OriginAccessControlList.Builder
nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.OriginAccessControlList.Builder
quantity(Integer quantity)
The number of origin access controls 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, sdkFields
-
-
-
-
Method Detail
-
marker
OriginAccessControlList.Builder marker(String marker)
The value of the
Marker
field that was provided in the request.- Parameters:
marker
- The value of theMarker
field that was provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
OriginAccessControlList.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 to use in the
Marker
field of another request to continue listing origin access controls.- Parameters:
nextMarker
- If there are more items in the list than are in this response, this element is present. It contains the value to use in theMarker
field of another request to continue listing origin access controls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
OriginAccessControlList.Builder maxItems(Integer maxItems)
The maximum number of origin access controls requested.
- Parameters:
maxItems
- The maximum number of origin access controls requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
OriginAccessControlList.Builder isTruncated(Boolean isTruncated)
If there are more items in the list than are in this response, this value is
true
.- Parameters:
isTruncated
- If there are more items in the list than are in this response, this value istrue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
OriginAccessControlList.Builder quantity(Integer quantity)
The number of origin access controls returned in the response.
- Parameters:
quantity
- The number of origin access controls returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
OriginAccessControlList.Builder items(Collection<OriginAccessControlSummary> items)
Contains the origin access controls in the list.
- Parameters:
items
- Contains the origin access controls in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
OriginAccessControlList.Builder items(OriginAccessControlSummary... items)
Contains the origin access controls in the list.
- Parameters:
items
- Contains the origin access controls in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
OriginAccessControlList.Builder items(Consumer<OriginAccessControlSummary.Builder>... items)
Contains the origin access controls in the list.
This is a convenience method that creates an instance of theOriginAccessControlSummary.Builder
avoiding the need to create one manually viaOriginAccessControlSummary.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 onOriginAccessControlSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection
)
-
-