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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGatewaysResponse.Buildergateways(Collection<GatewaySummary> gateways)The gateways in the list.ListGatewaysResponse.Buildergateways(Consumer<GatewaySummary.Builder>... gateways)The gateways in the list.ListGatewaysResponse.Buildergateways(GatewaySummary... gateways)The gateways in the list.ListGatewaysResponse.BuildernextToken(String nextToken)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, 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 Detail
-
gateways
ListGatewaysResponse.Builder gateways(Collection<GatewaySummary> 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
ListGatewaysResponse.Builder gateways(GatewaySummary... 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
ListGatewaysResponse.Builder gateways(Consumer<GatewaySummary.Builder>... 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 to#gateways(List.) - 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:
#gateways(java.util.Collection)
-
nextToken
ListGatewaysResponse.Builder nextToken(String 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.
-
-