Interface DirectoryConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DirectoryConfig.Builder,DirectoryConfig>,SdkBuilder<DirectoryConfig.Builder,DirectoryConfig>,SdkPojo
- Enclosing class:
- DirectoryConfig
public static interface DirectoryConfig.Builder extends SdkPojo, CopyableBuilder<DirectoryConfig.Builder,DirectoryConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DirectoryConfig.BuildercertificateBasedAuthProperties(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.DirectoryConfig.BuildercertificateBasedAuthProperties(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.DirectoryConfig.BuildercreatedTime(Instant createdTime)The time the directory configuration was created.DirectoryConfig.BuilderdirectoryName(String directoryName)The fully qualified name of the directory (for example, corp.example.com).DirectoryConfig.BuilderorganizationalUnitDistinguishedNames(String... organizationalUnitDistinguishedNames)The distinguished names of the organizational units for computer accounts.DirectoryConfig.BuilderorganizationalUnitDistinguishedNames(Collection<String> organizationalUnitDistinguishedNames)The distinguished names of the organizational units for computer accounts.default DirectoryConfig.BuilderserviceAccountCredentials(Consumer<ServiceAccountCredentials.Builder> serviceAccountCredentials)The credentials for the service account used by the fleet or image builder to connect to the directory.DirectoryConfig.BuilderserviceAccountCredentials(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
directoryName
DirectoryConfig.Builder directoryName(String 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.Builderavoiding the need to create one manually viaServiceAccountCredentials.builder().When the
Consumercompletes,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:
serviceAccountCredentials(ServiceAccountCredentials)
-
createdTime
DirectoryConfig.Builder createdTime(Instant 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.Builderavoiding the need to create one manually viaCertificateBasedAuthProperties.builder().When the
Consumercompletes,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:
certificateBasedAuthProperties(CertificateBasedAuthProperties)
-
-