Class CfnRouteServerAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnRouteServerAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteServerAssociationMixinProps>
- Enclosing interface:
CfnRouteServerAssociationMixinProps
@Stability(Stable)
public static final class CfnRouteServerAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteServerAssociationMixinProps>
A builder for
CfnRouteServerAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routeServerId(String routeServerId) Sets the value ofCfnRouteServerAssociationMixinProps.getRouteServerId()Sets the value ofCfnRouteServerAssociationMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeServerId
@Stability(Stable) public CfnRouteServerAssociationMixinProps.Builder routeServerId(String routeServerId) Sets the value ofCfnRouteServerAssociationMixinProps.getRouteServerId()- Parameters:
routeServerId- The ID of the associated route server.- Returns:
this
-
vpcId
Sets the value ofCfnRouteServerAssociationMixinProps.getVpcId()- Parameters:
vpcId- The ID of the associated VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteServerAssociationMixinProps>- Returns:
- a new instance of
CfnRouteServerAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-