public static final class CfnDirectoryConfigProps.Builder
extends java.lang.Object
CfnDirectoryConfigProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDirectoryConfigProps |
build()
Builds the configured instance.
|
CfnDirectoryConfigProps.Builder |
directoryName(java.lang.String directoryName)
Sets the value of
CfnDirectoryConfigProps.getDirectoryName() |
CfnDirectoryConfigProps.Builder |
organizationalUnitDistinguishedNames(java.util.List<java.lang.String> organizationalUnitDistinguishedNames)
Sets the value of
CfnDirectoryConfigProps.getOrganizationalUnitDistinguishedNames() |
CfnDirectoryConfigProps.Builder |
serviceAccountCredentials(CfnDirectoryConfig.ServiceAccountCredentialsProperty serviceAccountCredentials)
Sets the value of
CfnDirectoryConfigProps.getServiceAccountCredentials() |
CfnDirectoryConfigProps.Builder |
serviceAccountCredentials(IResolvable serviceAccountCredentials)
Sets the value of
CfnDirectoryConfigProps.getServiceAccountCredentials() |
public CfnDirectoryConfigProps.Builder directoryName(java.lang.String directoryName)
CfnDirectoryConfigProps.getDirectoryName()
directoryName
- The fully qualified name of the directory (for example, corp.example.com). This parameter is required.this
public CfnDirectoryConfigProps.Builder organizationalUnitDistinguishedNames(java.util.List<java.lang.String> organizationalUnitDistinguishedNames)
CfnDirectoryConfigProps.getOrganizationalUnitDistinguishedNames()
organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer accounts. This parameter is required.this
public CfnDirectoryConfigProps.Builder serviceAccountCredentials(IResolvable serviceAccountCredentials)
CfnDirectoryConfigProps.getServiceAccountCredentials()
serviceAccountCredentials
- The credentials for the service account used by the streaming instance to connect to the directory. This parameter is required.
Do not use this parameter directly. Use ServiceAccountCredentials
as an input parameter with noEcho
as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .this
public CfnDirectoryConfigProps.Builder serviceAccountCredentials(CfnDirectoryConfig.ServiceAccountCredentialsProperty serviceAccountCredentials)
CfnDirectoryConfigProps.getServiceAccountCredentials()
serviceAccountCredentials
- The credentials for the service account used by the streaming instance to connect to the directory. This parameter is required.
Do not use this parameter directly. Use ServiceAccountCredentials
as an input parameter with noEcho
as shown in the Parameters . For best practices information, see Do Not Embed Credentials in Your Templates .this
public CfnDirectoryConfigProps build()
CfnDirectoryConfigProps
java.lang.NullPointerException
- if any required attribute was not provided