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