Class RouteServerPropagationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.ec2.RouteServerPropagationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouteServerPropagationReference>
- Enclosing interface:
RouteServerPropagationReference
@Stability(Stable)
public static final class RouteServerPropagationReference.Builder
extends Object
implements software.amazon.jsii.Builder<RouteServerPropagationReference>
A builder for
RouteServerPropagationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routeServerId(String routeServerId) Sets the value ofRouteServerPropagationReference.getRouteServerId()routeTableId(String routeTableId) Sets the value ofRouteServerPropagationReference.getRouteTableId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeServerId
@Stability(Stable) public RouteServerPropagationReference.Builder routeServerId(String routeServerId) Sets the value ofRouteServerPropagationReference.getRouteServerId()- Parameters:
routeServerId- The RouteServerId of the RouteServerPropagation resource. This parameter is required.- Returns:
this
-
routeTableId
Sets the value ofRouteServerPropagationReference.getRouteTableId()- Parameters:
routeTableId- The RouteTableId of the RouteServerPropagation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouteServerPropagationReference>- Returns:
- a new instance of
RouteServerPropagationReference - Throws:
NullPointerException- if any required attribute was not provided
-