Class CfnDataSourcePropsMixin.OracleParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin.OracleParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.OracleParametersProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.OracleParametersProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.OracleParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.OracleParametersProperty>
A builder for
CfnDataSourcePropsMixin.OracleParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getDatabase()Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getHost()Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getPort()useServiceName(Boolean useServiceName) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getUseServiceName()useServiceName(IResolvable useServiceName) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getUseServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
database
@Stability(Stable) public CfnDataSourcePropsMixin.OracleParametersProperty.Builder database(String database) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getDatabase()- Parameters:
database- Database.- Returns:
this
-
host
@Stability(Stable) public CfnDataSourcePropsMixin.OracleParametersProperty.Builder host(String host) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getHost()- Parameters:
host- Host.- Returns:
this
-
port
@Stability(Stable) public CfnDataSourcePropsMixin.OracleParametersProperty.Builder port(Number port) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getPort()- Parameters:
port- Port.- Returns:
this
-
useServiceName
@Stability(Stable) public CfnDataSourcePropsMixin.OracleParametersProperty.Builder useServiceName(Boolean useServiceName) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getUseServiceName()- Parameters:
useServiceName- A Boolean value that indicates whether theDatabaseuses a service name or an SID. If this value is left blank, the default value isSID. If this value is set tofalse, the value isSID.- Returns:
this
-
useServiceName
@Stability(Stable) public CfnDataSourcePropsMixin.OracleParametersProperty.Builder useServiceName(IResolvable useServiceName) Sets the value ofCfnDataSourcePropsMixin.OracleParametersProperty.getUseServiceName()- Parameters:
useServiceName- A Boolean value that indicates whether theDatabaseuses a service name or an SID. If this value is left blank, the default value isSID. If this value is set tofalse, the value isSID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.OracleParametersProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.OracleParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-