Interface ListGatewayGroupsResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGatewayGroupsResponse.Builder,
,ListGatewayGroupsResponse> SdkBuilder<ListGatewayGroupsResponse.Builder,
,ListGatewayGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGatewayGroupsResponse
public static interface ListGatewayGroupsResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListGatewayGroupsResponse.Builder,ListGatewayGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayGroups
(Collection<GatewayGroupSummary> gatewayGroups) The gateway groups in the list.gatewayGroups
(Consumer<GatewayGroupSummary.Builder>... gatewayGroups) The gateway groups in the list.gatewayGroups
(GatewayGroupSummary... gatewayGroups) The gateway groups in the list.The token used to paginate though multiple pages of gateway group summaries.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
gatewayGroups
The gateway groups in the list.
- Parameters:
gatewayGroups
- The gateway groups in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayGroups
The gateway groups in the list.
- Parameters:
gatewayGroups
- The gateway groups in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayGroups
ListGatewayGroupsResponse.Builder gatewayGroups(Consumer<GatewayGroupSummary.Builder>... gatewayGroups) The gateway groups in the list.
This is a convenience method that creates an instance of theGatewayGroupSummary.Builder
avoiding the need to create one manually viaGatewayGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togatewayGroups(List<GatewayGroupSummary>)
.- Parameters:
gatewayGroups
- a consumer that will call methods onGatewayGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token used to paginate though multiple pages of gateway group summaries.
- Parameters:
nextToken
- The token used to paginate though multiple pages of gateway group summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-