Interface SearchTransitGatewayRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchTransitGatewayRoutesResponse.Builder,
,SearchTransitGatewayRoutesResponse> Ec2Response.Builder
,SdkBuilder<SearchTransitGatewayRoutesResponse.Builder,
,SearchTransitGatewayRoutesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchTransitGatewayRoutesResponse
public static interface SearchTransitGatewayRoutesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<SearchTransitGatewayRoutesResponse.Builder,SearchTransitGatewayRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalRoutesAvailable
(Boolean additionalRoutesAvailable) Indicates whether there are additional routes available.routes
(Collection<TransitGatewayRoute> routes) Information about the routes.routes
(Consumer<TransitGatewayRoute.Builder>... routes) Information about the routes.routes
(TransitGatewayRoute... routes) Information about the routes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
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
-
routes
Information about the routes.
- Parameters:
routes
- Information about the routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
Information about the routes.
- Parameters:
routes
- Information about the routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
Information about the routes.
This is a convenience method that creates an instance of theTransitGatewayRoute.Builder
avoiding the need to create one manually viaTransitGatewayRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutes(List<TransitGatewayRoute>)
.- Parameters:
routes
- a consumer that will call methods onTransitGatewayRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalRoutesAvailable
SearchTransitGatewayRoutesResponse.Builder additionalRoutesAvailable(Boolean additionalRoutesAvailable) Indicates whether there are additional routes available.
- Parameters:
additionalRoutesAvailable
- Indicates whether there are additional routes available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-