Class CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appmesh.CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty>
- Enclosing interface:
CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty
@Stability(Stable)
public static final class CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty>
A builder for
CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.getEnd()Sets the value ofCfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.getStart()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
end
@Stability(Stable) public CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.Builder end(Number end) Sets the value ofCfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.getEnd()- Parameters:
end- The end of the range.- Returns:
this
-
start
@Stability(Stable) public CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.Builder start(Number start) Sets the value ofCfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty.getStart()- Parameters:
start- The start of the range.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty>- Returns:
- a new instance of
CfnGatewayRoutePropsMixin.GatewayRouteRangeMatchProperty - Throws:
NullPointerException- if any required attribute was not provided
-