Interface ListConnectionItemsResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListConnectionItemsResponse.Builder,,ListConnectionItemsResponse> SdkBuilder<ListConnectionItemsResponse.Builder,,ListConnectionItemsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListConnectionItemsResponse
@Mutable
@NotThreadSafe
public static interface ListConnectionItemsResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<ListConnectionItemsResponse.Builder,ListConnectionItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ConnectionItem> items) The items at the requested level.items(Consumer<ConnectionItem.Builder>... items) The items at the requested level.items(ConnectionItem... items) The items at the requested level.The token to pass to get the next page of results.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
The items at the requested level.
- Parameters:
items- The items at the requested level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items at the requested level.
- Parameters:
items- The items at the requested level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items at the requested level.
This is a convenience method that creates an instance of theConnectionItem.Builderavoiding the need to create one manually viaConnectionItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ConnectionItem>).- Parameters:
items- a consumer that will call methods onConnectionItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to pass to get the next page of results. Absent on the last page.
- Parameters:
nextToken- The token to pass to get the next page of results. Absent on the last page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-