Interface VpcOriginList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcOriginList.Builder,
,VpcOriginList> SdkBuilder<VpcOriginList.Builder,
,VpcOriginList> SdkPojo
- Enclosing class:
VpcOriginList
@Mutable
@NotThreadSafe
public static interface VpcOriginList.Builder
extends SdkPojo, CopyableBuilder<VpcOriginList.Builder,VpcOriginList>
-
Method Summary
Modifier and TypeMethodDescriptionisTruncated
(Boolean isTruncated) A flag that indicates whether more VPC origins remain to be listed.items
(Collection<VpcOriginSummary> items) The items of the VPC origins list.items
(Consumer<VpcOriginSummary.Builder>... items) The items of the VPC origins list.items
(VpcOriginSummary... items) The items of the VPC origins list.The marker associated with the VPC origins list.The maximum number of items included in the list.nextMarker
(String nextMarker) The next marker associated with the VPC origins list.The number of VPC origins in the list.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 Details
-
marker
The marker associated with the VPC origins list.
- Parameters:
marker
- The marker associated with the VPC origins list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
The next marker associated with the VPC origins list.
- Parameters:
nextMarker
- The next marker associated with the VPC origins list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The maximum number of items included in the list.
- Parameters:
maxItems
- The maximum number of items included in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
A flag that indicates whether more VPC origins 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 VPC origins in the list.- Parameters:
isTruncated
- A flag that indicates whether more VPC origins remain to be listed. If your results were truncated, you can make a follow-up pagination request using theMarker
request parameter to retrieve more VPC origins in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The number of VPC origins in the list.
- Parameters:
quantity
- The number of VPC origins in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the VPC origins list.
- Parameters:
items
- The items of the VPC origins list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the VPC origins list.
- Parameters:
items
- The items of the VPC origins list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the VPC origins list.
This is a convenience method that creates an instance of theVpcOriginSummary.Builder
avoiding the need to create one manually viaVpcOriginSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<VpcOriginSummary>)
.- Parameters:
items
- a consumer that will call methods onVpcOriginSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-