Interface SearchTransitGatewayRoutesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<SearchTransitGatewayRoutesResponse.Builder,,- SearchTransitGatewayRoutesResponse> - Ec2Response.Builder,- SdkBuilder<SearchTransitGatewayRoutesResponse.Builder,,- SearchTransitGatewayRoutesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- SearchTransitGatewayRoutesResponse
@Mutable
@NotThreadSafe
public static interface SearchTransitGatewayRoutesResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<SearchTransitGatewayRoutesResponse.Builder,SearchTransitGatewayRoutesResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
routesInformation about the routes. - Parameters:
- routes- Information about the routes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
routesInformation about the routes. - Parameters:
- routes- Information about the routes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
routesInformation about the routes. This is a convenience method that creates an instance of theTransitGatewayRoute.Builderavoiding the need to create one manually viaTransitGatewayRoute.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutes(List<TransitGatewayRoute>).- Parameters:
- routes- a consumer that will call methods on- TransitGatewayRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
additionalRoutesAvailableSearchTransitGatewayRoutesResponse.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.
 
 
-