Interface EC2CreateRouteTableAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EC2CreateRouteTableAction.Builder,EC2CreateRouteTableAction>,SdkBuilder<EC2CreateRouteTableAction.Builder,EC2CreateRouteTableAction>,SdkPojo
- Enclosing class:
- EC2CreateRouteTableAction
public static interface EC2CreateRouteTableAction.Builder extends SdkPojo, CopyableBuilder<EC2CreateRouteTableAction.Builder,EC2CreateRouteTableAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EC2CreateRouteTableAction.Builderdescription(String description)A description of the CreateRouteTable action.default EC2CreateRouteTableAction.BuildervpcId(Consumer<ActionTarget.Builder> vpcId)Information about the ID of a VPC.EC2CreateRouteTableAction.BuildervpcId(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, sdkFields
-
-
-
-
Method Detail
-
description
EC2CreateRouteTableAction.Builder description(String 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
EC2CreateRouteTableAction.Builder vpcId(ActionTarget 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
default EC2CreateRouteTableAction.Builder vpcId(Consumer<ActionTarget.Builder> vpcId)
Information about the ID of a VPC.
This is a convenience method that creates an instance of theActionTarget.Builderavoiding the need to create one manually viaActionTarget.builder().When the
Consumercompletes,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:
vpcId(ActionTarget)
-
-