Class CfnConnectionPropsMixin.RedshiftCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnConnectionPropsMixin.RedshiftCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.RedshiftCredentialsProperty>
- Enclosing interface:
CfnConnectionPropsMixin.RedshiftCredentialsProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.RedshiftCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.RedshiftCredentialsProperty>
A builder for
CfnConnectionPropsMixin.RedshiftCredentialsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectionPropsMixin.RedshiftCredentialsProperty.getSecretArn()usernamePassword(CfnConnectionPropsMixin.UsernamePasswordProperty usernamePassword) usernamePassword(IResolvable usernamePassword)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretArn
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftCredentialsProperty.Builder secretArn(String secretArn) Sets the value ofCfnConnectionPropsMixin.RedshiftCredentialsProperty.getSecretArn()- Parameters:
secretArn- The secret ARN of the Amazon Redshift credentials of a connection.- Returns:
this
-
usernamePassword
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftCredentialsProperty.Builder usernamePassword(IResolvable usernamePassword) - Parameters:
usernamePassword- The username and password of the Amazon Redshift credentials of a connection.- Returns:
this
-
usernamePassword
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftCredentialsProperty.Builder usernamePassword(CfnConnectionPropsMixin.UsernamePasswordProperty usernamePassword) - Parameters:
usernamePassword- The username and password of the Amazon Redshift credentials of a connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.RedshiftCredentialsProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.RedshiftCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-