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