Interface EC2CreateRouteTableAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EC2CreateRouteTableAction.Builder,
,EC2CreateRouteTableAction> SdkBuilder<EC2CreateRouteTableAction.Builder,
,EC2CreateRouteTableAction> SdkPojo
- Enclosing class:
EC2CreateRouteTableAction
@Mutable
@NotThreadSafe
public static interface EC2CreateRouteTableAction.Builder
extends SdkPojo, CopyableBuilder<EC2CreateRouteTableAction.Builder,EC2CreateRouteTableAction>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the CreateRouteTable action.vpcId
(Consumer<ActionTarget.Builder> vpcId) Information about the ID of a VPC.vpcId
(ActionTarget vpcId) Information about the ID of a VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description of the CreateRouteTable action.
- Parameters:
description
- A description of the CreateRouteTable action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
Information about the ID of a VPC.
- Parameters:
vpcId
- Information about the ID of a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
Information about the ID of a VPC.
This is a convenience method that creates an instance of theActionTarget.Builder
avoiding the need to create one manually viaActionTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcId(ActionTarget)
.- Parameters:
vpcId
- a consumer that will call methods onActionTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-