Interface GetRouteServerRoutingDatabaseResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRouteServerRoutingDatabaseResponse.Builder,,GetRouteServerRoutingDatabaseResponse> Ec2Response.Builder,SdkBuilder<GetRouteServerRoutingDatabaseResponse.Builder,,GetRouteServerRoutingDatabaseResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRouteServerRoutingDatabaseResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaRouteServerRoute.builder().When the
Consumercompletes,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
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-