Interface ListGatewaysResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewaysResponse.Builder,,ListGatewaysResponse> SdkBuilder<ListGatewaysResponse.Builder,,ListGatewaysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGatewaysResponse
public static interface ListGatewaysResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListGatewaysResponse.Builder,ListGatewaysResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongateways(Collection<GatewaySummary> gateways) The gateways in the list.gateways(Consumer<GatewaySummary.Builder>... gateways) The gateways in the list.gateways(GatewaySummary... gateways) The gateways in the list.The token used to paginate though multiple pages of gateway summaries.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
gateways
The gateways in the list.
- Parameters:
gateways- The gateways in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
The gateways in the list.
- Parameters:
gateways- The gateways in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
The gateways in the list.
This is a convenience method that creates an instance of theGatewaySummary.Builderavoiding the need to create one manually viaGatewaySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togateways(List<GatewaySummary>).- Parameters:
gateways- a consumer that will call methods onGatewaySummary.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 summaries.
- Parameters:
nextToken- The token used to paginate though multiple pages of gateway summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-