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