Interface UpdateDirectoryConfigRequest.Builder
- All Superinterfaces:
AppStreamRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDirectoryConfigRequest.Builder,
,UpdateDirectoryConfigRequest> SdkBuilder<UpdateDirectoryConfigRequest.Builder,
,UpdateDirectoryConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDirectoryConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateBasedAuthProperties
(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.directoryName
(String directoryName) The name of the Directory Config object.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.appstream.model.AppStreamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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 name of the Directory Config object.
- Parameters:
directoryName
- The name of the Directory Config object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnitDistinguishedNames
UpdateDirectoryConfigRequest.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
UpdateDirectoryConfigRequest.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
UpdateDirectoryConfigRequest.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 UpdateDirectoryConfigRequest.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:
-
certificateBasedAuthProperties
UpdateDirectoryConfigRequest.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 UpdateDirectoryConfigRequest.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:
-
overrideConfiguration
UpdateDirectoryConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDirectoryConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-