Class CfnInputPropsMixin.InputRequestDestinationRouteProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnInputPropsMixin.InputRequestDestinationRouteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputPropsMixin.InputRequestDestinationRouteProperty>
- Enclosing interface:
CfnInputPropsMixin.InputRequestDestinationRouteProperty
@Stability(Stable)
public static final class CfnInputPropsMixin.InputRequestDestinationRouteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputPropsMixin.InputRequestDestinationRouteProperty>
A builder for
CfnInputPropsMixin.InputRequestDestinationRouteProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnInputPropsMixin.InputRequestDestinationRouteProperty.getCidr()Sets the value ofCfnInputPropsMixin.InputRequestDestinationRouteProperty.getGateway()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidr
@Stability(Stable) public CfnInputPropsMixin.InputRequestDestinationRouteProperty.Builder cidr(String cidr) Sets the value ofCfnInputPropsMixin.InputRequestDestinationRouteProperty.getCidr()- Parameters:
cidr- the value to be set.- Returns:
this
-
gateway
@Stability(Stable) public CfnInputPropsMixin.InputRequestDestinationRouteProperty.Builder gateway(String gateway) Sets the value ofCfnInputPropsMixin.InputRequestDestinationRouteProperty.getGateway()- Parameters:
gateway- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInputPropsMixin.InputRequestDestinationRouteProperty>- Returns:
- a new instance of
CfnInputPropsMixin.InputRequestDestinationRouteProperty - Throws:
NullPointerException- if any required attribute was not provided
-