Class CfnConnectionPropsMixin.ProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.interconnect.CfnConnectionPropsMixin.ProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.ProviderProperty>
- Enclosing interface:
CfnConnectionPropsMixin.ProviderProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.ProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.ProviderProperty>
A builder for
CfnConnectionPropsMixin.ProviderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudServiceProvider(String cloudServiceProvider) Sets the value ofCfnConnectionPropsMixin.ProviderProperty.getCloudServiceProvider()lastMileProvider(String lastMileProvider) Sets the value ofCfnConnectionPropsMixin.ProviderProperty.getLastMileProvider()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudServiceProvider
@Stability(Stable) public CfnConnectionPropsMixin.ProviderProperty.Builder cloudServiceProvider(String cloudServiceProvider) Sets the value ofCfnConnectionPropsMixin.ProviderProperty.getCloudServiceProvider()- Parameters:
cloudServiceProvider- The name of the cloud service provider.- Returns:
this
-
lastMileProvider
@Stability(Stable) public CfnConnectionPropsMixin.ProviderProperty.Builder lastMileProvider(String lastMileProvider) Sets the value ofCfnConnectionPropsMixin.ProviderProperty.getLastMileProvider()- Parameters:
lastMileProvider- The name of the last mile provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.ProviderProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.ProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-