@Stability(value=Stable) public static final class CfnDataSource.CredentialPairProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.CredentialPairProperty>
CfnDataSource.CredentialPairProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDataSource.CredentialPairProperty.Builder |
alternateDataSourceParameters(IResolvable alternateDataSourceParameters)
Sets the value of
CfnDataSource.CredentialPairProperty.getAlternateDataSourceParameters() |
CfnDataSource.CredentialPairProperty.Builder |
alternateDataSourceParameters(List<? extends Object> alternateDataSourceParameters)
Sets the value of
CfnDataSource.CredentialPairProperty.getAlternateDataSourceParameters() |
CfnDataSource.CredentialPairProperty |
build()
Builds the configured instance.
|
CfnDataSource.CredentialPairProperty.Builder |
password(String password)
Sets the value of
CfnDataSource.CredentialPairProperty.getPassword() |
CfnDataSource.CredentialPairProperty.Builder |
username(String username)
Sets the value of
CfnDataSource.CredentialPairProperty.getUsername() |
@Stability(value=Stable) public CfnDataSource.CredentialPairProperty.Builder password(String password)
CfnDataSource.CredentialPairProperty.getPassword()password - Password. This parameter is required.this@Stability(value=Stable) public CfnDataSource.CredentialPairProperty.Builder username(String username)
CfnDataSource.CredentialPairProperty.getUsername()username - User name. This parameter is required.this@Stability(value=Stable) public CfnDataSource.CredentialPairProperty.Builder alternateDataSourceParameters(IResolvable alternateDataSourceParameters)
CfnDataSource.CredentialPairProperty.getAlternateDataSourceParameters()alternateDataSourceParameters - A set of alternate data source parameters that you want to share for these credentials.
The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.this@Stability(value=Stable) public CfnDataSource.CredentialPairProperty.Builder alternateDataSourceParameters(List<? extends Object> alternateDataSourceParameters)
CfnDataSource.CredentialPairProperty.getAlternateDataSourceParameters()alternateDataSourceParameters - A set of alternate data source parameters that you want to share for these credentials.
The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters structure that's in the request with the structures in the AlternateDataSourceParameters allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters list is null, the DataSourceParameters originally used with these Credentials is automatically allowed.this@Stability(value=Stable) public CfnDataSource.CredentialPairProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.CredentialPairProperty>CfnDataSource.CredentialPairPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.