Interface ListListenersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListListenersResponse.Builder,
,ListListenersResponse> SdkBuilder<ListListenersResponse.Builder,
,ListListenersResponse> SdkPojo
,SdkResponse.Builder
,VpcLatticeResponse.Builder
- Enclosing class:
ListListenersResponse
public static interface ListListenersResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<ListListenersResponse.Builder,ListListenersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<ListenerSummary> items) Information about the listeners.items
(Consumer<ListenerSummary.Builder>... items) Information about the listeners.items
(ListenerSummary... items) Information about the listeners.If there are additional results, a pagination token for the next page of results.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
items
Information about the listeners.
- Parameters:
items
- Information about the listeners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about the listeners.
- Parameters:
items
- Information about the listeners.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Information about the listeners.
This is a convenience method that creates an instance of theListenerSummary.Builder
avoiding the need to create one manually viaListenerSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<ListenerSummary>)
.- Parameters:
items
- a consumer that will call methods onListenerSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, a pagination token for the next page of results.
- Parameters:
nextToken
- If there are additional results, a pagination token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-