Class CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.RedshiftPropertiesInputProperty>
- Enclosing interface:
CfnConnectionPropsMixin.RedshiftPropertiesInputProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.RedshiftPropertiesInputProperty>
A builder for
CfnConnectionPropsMixin.RedshiftPropertiesInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getCredentials()credentials(IResolvable credentials) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getCredentials()databaseName(String databaseName) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getHost()Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getLineageSync()lineageSync(IResolvable lineageSync) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getLineageSync()Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getPort()Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getStorage()storage(IResolvable storage) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getStorage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentials
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder credentials(IResolvable credentials) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getCredentials()- Parameters:
credentials- The Amaon Redshift credentials.- Returns:
this
-
credentials
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder credentials(CfnConnectionPropsMixin.RedshiftCredentialsProperty credentials) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getCredentials()- Parameters:
credentials- The Amaon Redshift credentials.- Returns:
this
-
databaseName
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder databaseName(String databaseName) - Parameters:
databaseName- The Amazon Redshift database name.- Returns:
this
-
host
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder host(String host) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getHost()- Parameters:
host- The Amazon Redshift host.- Returns:
this
-
lineageSync
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder lineageSync(IResolvable lineageSync) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getLineageSync()- Parameters:
lineageSync- The lineage sync of the Amazon Redshift.- Returns:
this
-
lineageSync
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder lineageSync(CfnConnectionPropsMixin.RedshiftLineageSyncConfigurationInputProperty lineageSync) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getLineageSync()- Parameters:
lineageSync- The lineage sync of the Amazon Redshift.- Returns:
this
-
port
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder port(Number port) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getPort()- Parameters:
port- The Amaon Redshift port.- Returns:
this
-
storage
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder storage(IResolvable storage) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getStorage()- Parameters:
storage- The Amazon Redshift storage.- Returns:
this
-
storage
@Stability(Stable) public CfnConnectionPropsMixin.RedshiftPropertiesInputProperty.Builder storage(CfnConnectionPropsMixin.RedshiftStoragePropertiesProperty storage) Sets the value ofCfnConnectionPropsMixin.RedshiftPropertiesInputProperty.getStorage()- Parameters:
storage- The Amazon Redshift storage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.RedshiftPropertiesInputProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.RedshiftPropertiesInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-