Class CfnRoutePropsMixin.DefaultRouteInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.refactorspaces.CfnRoutePropsMixin.DefaultRouteInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoutePropsMixin.DefaultRouteInputProperty>
- Enclosing interface:
CfnRoutePropsMixin.DefaultRouteInputProperty
@Stability(Stable)
public static final class CfnRoutePropsMixin.DefaultRouteInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoutePropsMixin.DefaultRouteInputProperty>
A builder for
CfnRoutePropsMixin.DefaultRouteInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivationState(String activationState) Sets the value ofCfnRoutePropsMixin.DefaultRouteInputProperty.getActivationState()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activationState
@Stability(Stable) public CfnRoutePropsMixin.DefaultRouteInputProperty.Builder activationState(String activationState) Sets the value ofCfnRoutePropsMixin.DefaultRouteInputProperty.getActivationState()- Parameters:
activationState- If set toACTIVE, traffic is forwarded to this route’s service after the route is created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRoutePropsMixin.DefaultRouteInputProperty>- Returns:
- a new instance of
CfnRoutePropsMixin.DefaultRouteInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-