Class CfnRouteServerEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnRouteServerEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouteServerEndpointProps>
- Enclosing interface:
CfnRouteServerEndpointProps
@Stability(Stable)
public static final class CfnRouteServerEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouteServerEndpointProps>
A builder for
CfnRouteServerEndpointProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routeServerId(String routeServerId) Sets the value ofCfnRouteServerEndpointProps.getRouteServerId()Sets the value ofCfnRouteServerEndpointProps.getSubnetId()Sets the value ofCfnRouteServerEndpointProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeServerId
Sets the value ofCfnRouteServerEndpointProps.getRouteServerId()- Parameters:
routeServerId- The ID of the route server associated with this endpoint. This parameter is required.- Returns:
this
-
subnetId
Sets the value ofCfnRouteServerEndpointProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet to place the route server endpoint into. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnRouteServerEndpointProps.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<CfnRouteServerEndpointProps>- Returns:
- a new instance of
CfnRouteServerEndpointProps - Throws:
NullPointerException- if any required attribute was not provided
-