Class CfnConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionMixinProps>
- Enclosing interface:
CfnConnectionMixinProps
@Stability(Stable)
public static final class CfnConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionMixinProps>
A builder for
CfnConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsLocation(CfnConnectionPropsMixin.AwsLocationProperty awsLocation) Sets the value ofCfnConnectionMixinProps.getAwsLocation()awsLocation(IResolvable awsLocation) Sets the value ofCfnConnectionMixinProps.getAwsLocation()build()Builds the configured instance.description(String description) Sets the value ofCfnConnectionMixinProps.getDescription()domainIdentifier(String domainIdentifier) Sets the value ofCfnConnectionMixinProps.getDomainIdentifier()enableTrustedIdentityPropagation(Boolean enableTrustedIdentityPropagation) Sets the value ofCfnConnectionMixinProps.getEnableTrustedIdentityPropagation()enableTrustedIdentityPropagation(IResolvable enableTrustedIdentityPropagation) Sets the value ofCfnConnectionMixinProps.getEnableTrustedIdentityPropagation()environmentIdentifier(String environmentIdentifier) Sets the value ofCfnConnectionMixinProps.getEnvironmentIdentifier()Sets the value ofCfnConnectionMixinProps.getName()projectIdentifier(String projectIdentifier) Sets the value ofCfnConnectionMixinProps.getProjectIdentifier()Sets the value ofCfnConnectionMixinProps.getProps()props(IResolvable props) Sets the value ofCfnConnectionMixinProps.getProps()Sets the value ofCfnConnectionMixinProps.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsLocation
Sets the value ofCfnConnectionMixinProps.getAwsLocation()- Parameters:
awsLocation- The location where the connection is created.- Returns:
this
-
awsLocation
@Stability(Stable) public CfnConnectionMixinProps.Builder awsLocation(CfnConnectionPropsMixin.AwsLocationProperty awsLocation) Sets the value ofCfnConnectionMixinProps.getAwsLocation()- Parameters:
awsLocation- The location where the connection is created.- Returns:
this
-
description
Sets the value ofCfnConnectionMixinProps.getDescription()- Parameters:
description- Connection description.- Returns:
this
-
domainIdentifier
Sets the value ofCfnConnectionMixinProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the domain where the connection is created.- Returns:
this
-
enableTrustedIdentityPropagation
@Stability(Stable) public CfnConnectionMixinProps.Builder enableTrustedIdentityPropagation(Boolean enableTrustedIdentityPropagation) Sets the value ofCfnConnectionMixinProps.getEnableTrustedIdentityPropagation()- Parameters:
enableTrustedIdentityPropagation- Specifies whether the trusted identity propagation is enabled.- Returns:
this
-
enableTrustedIdentityPropagation
@Stability(Stable) public CfnConnectionMixinProps.Builder enableTrustedIdentityPropagation(IResolvable enableTrustedIdentityPropagation) Sets the value ofCfnConnectionMixinProps.getEnableTrustedIdentityPropagation()- Parameters:
enableTrustedIdentityPropagation- Specifies whether the trusted identity propagation is enabled.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public CfnConnectionMixinProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnConnectionMixinProps.getEnvironmentIdentifier()- Parameters:
environmentIdentifier- The ID of the environment where the connection is created.- Returns:
this
-
name
Sets the value ofCfnConnectionMixinProps.getName()- Parameters:
name- The name of the connection.- Returns:
this
-
projectIdentifier
@Stability(Stable) public CfnConnectionMixinProps.Builder projectIdentifier(String projectIdentifier) Sets the value ofCfnConnectionMixinProps.getProjectIdentifier()- Parameters:
projectIdentifier- The identifier of the project in which the connection should be created. If- Returns:
this
-
props
Sets the value ofCfnConnectionMixinProps.getProps()- Parameters:
props- Connection props.- Returns:
this
-
props
@Stability(Stable) public CfnConnectionMixinProps.Builder props(CfnConnectionPropsMixin.ConnectionPropertiesInputProperty props) Sets the value ofCfnConnectionMixinProps.getProps()- Parameters:
props- Connection props.- Returns:
this
-
scope
Sets the value ofCfnConnectionMixinProps.getScope()- Parameters:
scope- The scope of the connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionMixinProps>- Returns:
- a new instance of
CfnConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-