Interface GetRouteServerRoutingDatabaseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRouteServerRoutingDatabaseResponse.Builder,
,GetRouteServerRoutingDatabaseResponse> Ec2Response.Builder
,SdkBuilder<GetRouteServerRoutingDatabaseResponse.Builder,
,GetRouteServerRoutingDatabaseResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRouteServerRoutingDatabaseResponse
@Mutable
@NotThreadSafe
public static interface GetRouteServerRoutingDatabaseResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetRouteServerRoutingDatabaseResponse.Builder,GetRouteServerRoutingDatabaseResponse>
-
Method Summary
Modifier and TypeMethodDescriptionareRoutesPersisted
(Boolean areRoutesPersisted) Indicates whether routes are being persisted in the routing database.The token to use to retrieve the next page of results.routes
(Collection<RouteServerRoute> routes) The collection of routes in the route server's routing database.routes
(Consumer<RouteServerRoute.Builder>... routes) The collection of routes in the route server's routing database.routes
(RouteServerRoute... routes) The collection of routes in the route server's routing database.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
areRoutesPersisted
Indicates whether routes are being persisted in the routing database.
- Parameters:
areRoutesPersisted
- Indicates whether routes are being persisted in the routing database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The collection of routes in the route server's routing database.
- Parameters:
routes
- The collection of routes in the route server's routing database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The collection of routes in the route server's routing database.
- Parameters:
routes
- The collection of routes in the route server's routing database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The collection of routes in the route server's routing database.
This is a convenience method that creates an instance of theRouteServerRoute.Builder
avoiding the need to create one manually viaRouteServerRoute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutes(List<RouteServerRoute>)
.- Parameters:
routes
- a consumer that will call methods onRouteServerRoute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-