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