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()enableTrustedIdentityPropagation(Boolean enableTrustedIdentityPropagation) Sets the value ofCfnConnectionProps.getEnableTrustedIdentityPropagation()enableTrustedIdentityPropagation(IResolvable enableTrustedIdentityPropagation) Sets the value ofCfnConnectionProps.getEnableTrustedIdentityPropagation()environmentIdentifier(String environmentIdentifier) Sets the value ofCfnConnectionProps.getEnvironmentIdentifier()Sets the value ofCfnConnectionProps.getName()projectIdentifier(String projectIdentifier) Sets the value ofCfnConnectionProps.getProjectIdentifier()props(IResolvable props) Sets the value ofCfnConnectionProps.getProps()Sets the value ofCfnConnectionProps.getProps()Sets the value ofCfnConnectionProps.getScope()
-
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
-
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
-
enableTrustedIdentityPropagation
@Stability(Stable) public CfnConnectionProps.Builder enableTrustedIdentityPropagation(Boolean enableTrustedIdentityPropagation) Sets the value ofCfnConnectionProps.getEnableTrustedIdentityPropagation()- Parameters:
enableTrustedIdentityPropagation- Specifies whether the trusted identity propagation is enabled.- Returns:
this
-
enableTrustedIdentityPropagation
@Stability(Stable) public CfnConnectionProps.Builder enableTrustedIdentityPropagation(IResolvable enableTrustedIdentityPropagation) Sets the value ofCfnConnectionProps.getEnableTrustedIdentityPropagation()- Parameters:
enableTrustedIdentityPropagation- Specifies whether the trusted identity propagation is enabled.- 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.- Returns:
this
-
projectIdentifier
Sets the value ofCfnConnectionProps.getProjectIdentifier()- Parameters:
projectIdentifier- The identifier of the project in which the connection should be created. If- 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
-
scope
Sets the value ofCfnConnectionProps.getScope()- Parameters:
scope- The scope of the connection.- 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
-