Class CfnHostMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codeconnections.CfnHostMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostMixinProps>
- Enclosing interface:
CfnHostMixinProps
@Stability(Stable)
public static final class CfnHostMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostMixinProps>
A builder for
CfnHostMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHostMixinProps.getName()providerEndpoint(String providerEndpoint) Sets the value ofCfnHostMixinProps.getProviderEndpoint()providerType(String providerType) Sets the value ofCfnHostMixinProps.getProviderType()Sets the value ofCfnHostMixinProps.getTags()vpcConfiguration(CfnHostPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnHostMixinProps.getVpcConfiguration()vpcConfiguration(IResolvable vpcConfiguration) Sets the value ofCfnHostMixinProps.getVpcConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnHostMixinProps.getName()- Parameters:
name- The name of the host.- Returns:
this
-
providerEndpoint
Sets the value ofCfnHostMixinProps.getProviderEndpoint()- Parameters:
providerEndpoint- The endpoint of the infrastructure where your provider type is installed.- Returns:
this
-
providerType
Sets the value ofCfnHostMixinProps.getProviderType()- Parameters:
providerType- The name of the installed provider to be associated with your connection.- Returns:
this
-
tags
Sets the value ofCfnHostMixinProps.getTags()- Parameters:
tags- Tags to apply to the host.- Returns:
this
-
vpcConfiguration
Sets the value ofCfnHostMixinProps.getVpcConfiguration()- Parameters:
vpcConfiguration- The VPC configuration provisioned for the host.- Returns:
this
-
vpcConfiguration
@Stability(Stable) public CfnHostMixinProps.Builder vpcConfiguration(CfnHostPropsMixin.VpcConfigurationProperty vpcConfiguration) Sets the value ofCfnHostMixinProps.getVpcConfiguration()- Parameters:
vpcConfiguration- The VPC configuration provisioned for the host.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostMixinProps>- Returns:
- a new instance of
CfnHostMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-