Interface CloudFrontOriginAccessIdentityList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CloudFrontOriginAccessIdentityList.Builder,
,CloudFrontOriginAccessIdentityList> SdkBuilder<CloudFrontOriginAccessIdentityList.Builder,
,CloudFrontOriginAccessIdentityList> SdkPojo
- Enclosing class:
CloudFrontOriginAccessIdentityList
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated
(Boolean isTruncated) A flag that indicates whether more origin access identities remain to be listed.A complex type that contains oneCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.A complex type that contains oneCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.items
(CloudFrontOriginAccessIdentitySummary... items) A complex type that contains oneCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.Use this when paginating results to indicate where to begin in your list of origin access identities.The maximum number of origin access identities you want in the response body.nextMarker
(String nextMarker) IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your origin access identities where they left off.The number of CloudFront origin access identities that were created by the current Amazon Web Services account.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
-
marker
Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set the
Marker
to the value of theNextMarker
from the current page's response (which is also the ID of the last identity on that page).- Parameters:
marker
- Use this when paginating results to indicate where to begin in your list of origin access identities. The results include identities in the list that occur after the marker. To get the next page of results, set theMarker
to the value of theNextMarker
from the current page's response (which is also the ID of the last identity on that page).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
If
IsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your origin access identities where they left off.- Parameters:
nextMarker
- IfIsTruncated
istrue
, this element is present and contains the value you can use for theMarker
request parameter to continue listing your origin access identities where they left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The maximum number of origin access identities you want in the response body.
- Parameters:
maxItems
- The maximum number of origin access identities you want in the response body.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using the
Marker
request parameter to retrieve more items in the list.- Parameters:
isTruncated
- A flag that indicates whether more origin access identities remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarker
request parameter to retrieve more items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The number of CloudFront origin access identities that were created by the current Amazon Web Services account.
- Parameters:
quantity
- The number of CloudFront origin access identities that were created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CloudFrontOriginAccessIdentityList.Builder items(Collection<CloudFrontOriginAccessIdentitySummary> items) A complex type that contains one
CloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.- Parameters:
items
- A complex type that contains oneCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A complex type that contains one
CloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.- Parameters:
items
- A complex type that contains oneCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CloudFrontOriginAccessIdentityList.Builder items(Consumer<CloudFrontOriginAccessIdentitySummary.Builder>... items) A complex type that contains one
This is a convenience method that creates an instance of theCloudFrontOriginAccessIdentitySummary
element for each origin access identity that was created by the current Amazon Web Services account.CloudFrontOriginAccessIdentitySummary.Builder
avoiding the need to create one manually viaCloudFrontOriginAccessIdentitySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<CloudFrontOriginAccessIdentitySummary>)
.- Parameters:
items
- a consumer that will call methods onCloudFrontOriginAccessIdentitySummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-