Interface DirectoryConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DirectoryConfig.Builder,
,DirectoryConfig> SdkBuilder<DirectoryConfig.Builder,
,DirectoryConfig> SdkPojo
- Enclosing class:
DirectoryConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault DirectoryConfig.Builder
certificateBasedAuthProperties
(Consumer<CertificateBasedAuthProperties.Builder> certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.certificateBasedAuthProperties
(CertificateBasedAuthProperties certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances.createdTime
(Instant createdTime) The time the directory configuration was created.directoryName
(String directoryName) The fully qualified name of the directory (for example, corp.example.com).organizationalUnitDistinguishedNames
(String... organizationalUnitDistinguishedNames) The distinguished names of the organizational units for computer accounts.organizationalUnitDistinguishedNames
(Collection<String> organizationalUnitDistinguishedNames) The distinguished names of the organizational units for computer accounts.default DirectoryConfig.Builder
serviceAccountCredentials
(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials) The credentials for the service account used by the fleet or image builder to connect to the directory.serviceAccountCredentials
(ServiceAccountCredentials serviceAccountCredentials) The credentials for the service account used by the fleet or image builder to connect to the directory.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
directoryName
The fully qualified name of the directory (for example, corp.example.com).
- Parameters:
directoryName
- The fully qualified name of the directory (for example, corp.example.com).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnitDistinguishedNames
DirectoryConfig.Builder organizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames) The distinguished names of the organizational units for computer accounts.
- Parameters:
organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnitDistinguishedNames
DirectoryConfig.Builder organizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames) The distinguished names of the organizational units for computer accounts.
- Parameters:
organizationalUnitDistinguishedNames
- The distinguished names of the organizational units for computer accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccountCredentials
DirectoryConfig.Builder serviceAccountCredentials(ServiceAccountCredentials serviceAccountCredentials) The credentials for the service account used by the fleet or image builder to connect to the directory.
- Parameters:
serviceAccountCredentials
- The credentials for the service account used by the fleet or image builder to connect to the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccountCredentials
default DirectoryConfig.Builder serviceAccountCredentials(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials) The credentials for the service account used by the fleet or image builder to connect to the directory.
This is a convenience method that creates an instance of theServiceAccountCredentials.Builder
avoiding the need to create one manually viaServiceAccountCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserviceAccountCredentials(ServiceAccountCredentials)
.- Parameters:
serviceAccountCredentials
- a consumer that will call methods onServiceAccountCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The time the directory configuration was created.
- Parameters:
createdTime
- The time the directory configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateBasedAuthProperties
DirectoryConfig.Builder certificateBasedAuthProperties(CertificateBasedAuthProperties certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
- Parameters:
certificateBasedAuthProperties
- The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateBasedAuthProperties
default DirectoryConfig.Builder certificateBasedAuthProperties(Consumer<CertificateBasedAuthProperties.Builder> certificateBasedAuthProperties) The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
This is a convenience method that creates an instance of theCertificateBasedAuthProperties.Builder
avoiding the need to create one manually viaCertificateBasedAuthProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificateBasedAuthProperties(CertificateBasedAuthProperties)
.- Parameters:
certificateBasedAuthProperties
- a consumer that will call methods onCertificateBasedAuthProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-