Class CfnDataSourcePropsMixin.KeyPairCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin.KeyPairCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.KeyPairCredentialsProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.KeyPairCredentialsProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.KeyPairCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.KeyPairCredentialsProperty>
A builder for
CfnDataSourcePropsMixin.KeyPairCredentialsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.keyPairUsername(String keyPairUsername) Sets the value ofCfnDataSourcePropsMixin.KeyPairCredentialsProperty.getKeyPairUsername()privateKey(String privateKey) Sets the value ofCfnDataSourcePropsMixin.KeyPairCredentialsProperty.getPrivateKey()privateKeyPassphrase(String privateKeyPassphrase)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyPairUsername
@Stability(Stable) public CfnDataSourcePropsMixin.KeyPairCredentialsProperty.Builder keyPairUsername(String keyPairUsername) Sets the value ofCfnDataSourcePropsMixin.KeyPairCredentialsProperty.getKeyPairUsername()- Parameters:
keyPairUsername- Username.- Returns:
this
-
privateKey
@Stability(Stable) public CfnDataSourcePropsMixin.KeyPairCredentialsProperty.Builder privateKey(String privateKey) Sets the value ofCfnDataSourcePropsMixin.KeyPairCredentialsProperty.getPrivateKey()- Parameters:
privateKey- PrivateKey.- Returns:
this
-
privateKeyPassphrase
@Stability(Stable) public CfnDataSourcePropsMixin.KeyPairCredentialsProperty.Builder privateKeyPassphrase(String privateKeyPassphrase) - Parameters:
privateKeyPassphrase- PrivateKeyPassphrase.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.KeyPairCredentialsProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.KeyPairCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-