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
Modifier and TypeMethodDescriptionclientToken
(String clientToken) Unique, case-sensitive identifier to ensure the idempotency of the request.default CreateRouteTableResponse.Builder
routeTable
(Consumer<RouteTable.Builder> routeTable) Information about the route table.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 Details
-
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
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:
-
clientToken
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
- Parameters:
clientToken
- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-