Class CfnLinkPropsMixin.BandwidthProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmanager.CfnLinkPropsMixin.BandwidthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkPropsMixin.BandwidthProperty>
- Enclosing interface:
CfnLinkPropsMixin.BandwidthProperty
@Stability(Stable)
public static final class CfnLinkPropsMixin.BandwidthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkPropsMixin.BandwidthProperty>
A builder for
CfnLinkPropsMixin.BandwidthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.downloadSpeed(Number downloadSpeed) Sets the value ofCfnLinkPropsMixin.BandwidthProperty.getDownloadSpeed()uploadSpeed(Number uploadSpeed) Sets the value ofCfnLinkPropsMixin.BandwidthProperty.getUploadSpeed()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
downloadSpeed
@Stability(Stable) public CfnLinkPropsMixin.BandwidthProperty.Builder downloadSpeed(Number downloadSpeed) Sets the value ofCfnLinkPropsMixin.BandwidthProperty.getDownloadSpeed()- Parameters:
downloadSpeed- Download speed in Mbps.- Returns:
this
-
uploadSpeed
@Stability(Stable) public CfnLinkPropsMixin.BandwidthProperty.Builder uploadSpeed(Number uploadSpeed) Sets the value ofCfnLinkPropsMixin.BandwidthProperty.getUploadSpeed()- Parameters:
uploadSpeed- Upload speed in Mbps.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkPropsMixin.BandwidthProperty>- Returns:
- a new instance of
CfnLinkPropsMixin.BandwidthProperty - Throws:
NullPointerException- if any required attribute was not provided
-