Class CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appstream.CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty>
- Enclosing interface:
CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty
@Stability(Stable)
public static final class CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountName(String accountName) accountPassword(String accountPassword) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountName
@Stability(Stable) public CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty.Builder accountName(String accountName) - Parameters:
accountName- The user name of the account. This account must have the following privileges: create computer objects, join computers to the domain, and change/reset the password on descendant computer objects for the organizational units specified.- Returns:
this
-
accountPassword
@Stability(Stable) public CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty.Builder accountPassword(String accountPassword) Sets the value ofCfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty.getAccountPassword()- Parameters:
accountPassword- The password for the account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty>- Returns:
- a new instance of
CfnDirectoryConfigPropsMixin.ServiceAccountCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-