Class CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DataSourceCredentialsProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.DataSourceCredentialsProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.DataSourceCredentialsProperty>
A builder for
CfnDataSourcePropsMixin.DataSourceCredentialsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.copySourceArn(String copySourceArn) Sets the value ofCfnDataSourcePropsMixin.DataSourceCredentialsProperty.getCopySourceArn()credentialPair(CfnDataSourcePropsMixin.CredentialPairProperty credentialPair) credentialPair(IResolvable credentialPair) keyPairCredentials(CfnDataSourcePropsMixin.KeyPairCredentialsProperty keyPairCredentials) keyPairCredentials(IResolvable keyPairCredentials) Sets the value ofCfnDataSourcePropsMixin.DataSourceCredentialsProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copySourceArn
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder copySourceArn(String copySourceArn) Sets the value ofCfnDataSourcePropsMixin.DataSourceCredentialsProperty.getCopySourceArn()- Parameters:
copySourceArn- The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. WhenCopySourceArnis not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentialsstructure.- Returns:
this
-
credentialPair
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder credentialPair(IResolvable credentialPair) - Parameters:
credentialPair- Credential pair. For more information, see[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html).- Returns:
this
-
credentialPair
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder credentialPair(CfnDataSourcePropsMixin.CredentialPairProperty credentialPair) - Parameters:
credentialPair- Credential pair. For more information, see[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html).- Returns:
this
-
keyPairCredentials
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder keyPairCredentials(IResolvable keyPairCredentials) - Parameters:
keyPairCredentials- The credentials for connecting using key-pair.- Returns:
this
-
keyPairCredentials
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder keyPairCredentials(CfnDataSourcePropsMixin.KeyPairCredentialsProperty keyPairCredentials) - Parameters:
keyPairCredentials- The credentials for connecting using key-pair.- Returns:
this
-
secretArn
@Stability(Stable) public CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Builder secretArn(String secretArn) Sets the value ofCfnDataSourcePropsMixin.DataSourceCredentialsProperty.getSecretArn()- Parameters:
secretArn- The Amazon Resource Name (ARN) of the secret associated with the data source in AWS Secrets Manager .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.DataSourceCredentialsProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.DataSourceCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-