Class CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.getPassword()Sets the value ofCfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
password
@Stability(Stable) public CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.Builder password(String password) Sets the value ofCfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.getPassword()- Parameters:
password- The password to use to connect to a resource.- Returns:
this
-
username
@Stability(Stable) public CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.Builder username(String username) Sets the value ofCfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty.getUsername()- Parameters:
username- The username to use to connect to a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.BasicAuthCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-