Class CfnRouteServerEndpointMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnRouteServerEndpointMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteServerEndpointMixinProps>
- Enclosing interface:
CfnRouteServerEndpointMixinProps
@Stability(Stable)
public static final class CfnRouteServerEndpointMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteServerEndpointMixinProps>
A builder for
CfnRouteServerEndpointMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routeServerId(String routeServerId) Sets the value ofCfnRouteServerEndpointMixinProps.getRouteServerId()Sets the value ofCfnRouteServerEndpointMixinProps.getSubnetId()Sets the value ofCfnRouteServerEndpointMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeServerId
@Stability(Stable) public CfnRouteServerEndpointMixinProps.Builder routeServerId(String routeServerId) Sets the value ofCfnRouteServerEndpointMixinProps.getRouteServerId()- Parameters:
routeServerId- The ID of the route server associated with this endpoint.- Returns:
this
-
subnetId
Sets the value ofCfnRouteServerEndpointMixinProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet to place the route server endpoint into.- Returns:
this
-
tags
@Stability(Stable) public CfnRouteServerEndpointMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnRouteServerEndpointMixinProps.getTags()- Parameters:
tags- Any tags assigned to the route server endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouteServerEndpointMixinProps>- Returns:
- a new instance of
CfnRouteServerEndpointMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-