Interface CreateRouteTableResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRouteTableResponse.Builder,CreateRouteTableResponse>
,Ec2Response.Builder
,SdkBuilder<CreateRouteTableResponse.Builder,CreateRouteTableResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateRouteTableResponse
public static interface CreateRouteTableResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateRouteTableResponse.Builder,CreateRouteTableResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateRouteTableResponse.Builder
routeTable(Consumer<RouteTable.Builder> routeTable)
Information about the route table.CreateRouteTableResponse.Builder
routeTable(RouteTable routeTable)
Information about the route table.-
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 Detail
-
routeTable
CreateRouteTableResponse.Builder routeTable(RouteTable routeTable)
Information about the route table.
- Parameters:
routeTable
- Information about the route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTable
default CreateRouteTableResponse.Builder routeTable(Consumer<RouteTable.Builder> routeTable)
Information about the route table.
This is a convenience method that creates an instance of theRouteTable.Builder
avoiding the need to create one manually viaRouteTable.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torouteTable(RouteTable)
.- Parameters:
routeTable
- a consumer that will call methods onRouteTable.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routeTable(RouteTable)
-
-