Class CfnConnectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.datazone.CfnConnectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionProps>
- Enclosing interface:
CfnConnectionProps
@Stability(Stable)
public static final class CfnConnectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionProps>
A builder for
CfnConnectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsLocation(IResolvable awsLocation) Sets the value ofCfnConnectionProps.getAwsLocation()awsLocation(CfnConnection.AwsLocationProperty awsLocation) Sets the value ofCfnConnectionProps.getAwsLocation()build()Builds the configured instance.description(String description) Sets the value ofCfnConnectionProps.getDescription()domainIdentifier(String domainIdentifier) Sets the value ofCfnConnectionProps.getDomainIdentifier()environmentIdentifier(String environmentIdentifier) Sets the value ofCfnConnectionProps.getEnvironmentIdentifier()Sets the value ofCfnConnectionProps.getName()props(IResolvable props) Sets the value ofCfnConnectionProps.getProps()Sets the value ofCfnConnectionProps.getProps()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainIdentifier
Sets the value ofCfnConnectionProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the domain where the connection is created. This parameter is required.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public CfnConnectionProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnConnectionProps.getEnvironmentIdentifier()- Parameters:
environmentIdentifier- The ID of the environment where the connection is created. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnConnectionProps.getName()- Parameters:
name- The name of the connection. This parameter is required.- Returns:
this
-
awsLocation
Sets the value ofCfnConnectionProps.getAwsLocation()- Parameters:
awsLocation- The location where the connection is created.- Returns:
this
-
awsLocation
@Stability(Stable) public CfnConnectionProps.Builder awsLocation(CfnConnection.AwsLocationProperty awsLocation) Sets the value ofCfnConnectionProps.getAwsLocation()- Parameters:
awsLocation- The location where the connection is created.- Returns:
this
-
description
Sets the value ofCfnConnectionProps.getDescription()- Parameters:
description- Connection description.- Returns:
this
-
props
Sets the value ofCfnConnectionProps.getProps()- Parameters:
props- Connection props.- Returns:
this
-
props
@Stability(Stable) public CfnConnectionProps.Builder props(CfnConnection.ConnectionPropertiesInputProperty props) Sets the value ofCfnConnectionProps.getProps()- Parameters:
props- Connection props.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionProps>- Returns:
- a new instance of
CfnConnectionProps - Throws:
NullPointerException- if any required attribute was not provided
-