Interface UpdateHybridAdRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateHybridAdRequest.Builder,
,UpdateHybridAdRequest> DirectoryRequest.Builder
,SdkBuilder<UpdateHybridAdRequest.Builder,
,UpdateHybridAdRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateHybridAdRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId
(String directoryId) The identifier of the hybrid directory to update.default UpdateHybridAdRequest.Builder
hybridAdministratorAccountUpdate
(Consumer<HybridAdministratorAccountUpdate.Builder> hybridAdministratorAccountUpdate) We create a hybrid directory administrator account when we create a hybrid directory.hybridAdministratorAccountUpdate
(HybridAdministratorAccountUpdate hybridAdministratorAccountUpdate) We create a hybrid directory administrator account when we create a hybrid directory.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateHybridAdRequest.Builder
selfManagedInstancesSettings
(Consumer<HybridCustomerInstancesSettings.Builder> selfManagedInstancesSettings) Updates to the self-managed AD configuration, including DNS server IP addresses and Amazon Web Services System Manager managed node identifiers.selfManagedInstancesSettings
(HybridCustomerInstancesSettings selfManagedInstancesSettings) Updates to the self-managed AD configuration, including DNS server IP addresses and Amazon Web Services System Manager managed node identifiers.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.services.directory.model.DirectoryRequest.Builder
build
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 Details
-
directoryId
The identifier of the hybrid directory to update.
- Parameters:
directoryId
- The identifier of the hybrid directory to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hybridAdministratorAccountUpdate
UpdateHybridAdRequest.Builder hybridAdministratorAccountUpdate(HybridAdministratorAccountUpdate hybridAdministratorAccountUpdate) We create a hybrid directory administrator account when we create a hybrid directory. Use
HybridAdministratorAccountUpdate
to recover the hybrid directory administrator account if you have deleted it.To recover your hybrid directory administrator account, we need temporary access to a user in your self-managed AD with administrator permissions in the form of a secret from Amazon Web Services Secrets Manager. We use these credentials once during recovery and don't store them.
If your hybrid directory administrator account exists, then you don’t need to use
HybridAdministratorAccountUpdate
, even if you have updated your self-managed AD administrator user.- Parameters:
hybridAdministratorAccountUpdate
- We create a hybrid directory administrator account when we create a hybrid directory. UseHybridAdministratorAccountUpdate
to recover the hybrid directory administrator account if you have deleted it.To recover your hybrid directory administrator account, we need temporary access to a user in your self-managed AD with administrator permissions in the form of a secret from Amazon Web Services Secrets Manager. We use these credentials once during recovery and don't store them.
If your hybrid directory administrator account exists, then you don’t need to use
HybridAdministratorAccountUpdate
, even if you have updated your self-managed AD administrator user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hybridAdministratorAccountUpdate
default UpdateHybridAdRequest.Builder hybridAdministratorAccountUpdate(Consumer<HybridAdministratorAccountUpdate.Builder> hybridAdministratorAccountUpdate) We create a hybrid directory administrator account when we create a hybrid directory. Use
HybridAdministratorAccountUpdate
to recover the hybrid directory administrator account if you have deleted it.To recover your hybrid directory administrator account, we need temporary access to a user in your self-managed AD with administrator permissions in the form of a secret from Amazon Web Services Secrets Manager. We use these credentials once during recovery and don't store them.
If your hybrid directory administrator account exists, then you don’t need to use
This is a convenience method that creates an instance of theHybridAdministratorAccountUpdate
, even if you have updated your self-managed AD administrator user.HybridAdministratorAccountUpdate.Builder
avoiding the need to create one manually viaHybridAdministratorAccountUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohybridAdministratorAccountUpdate(HybridAdministratorAccountUpdate)
.- Parameters:
hybridAdministratorAccountUpdate
- a consumer that will call methods onHybridAdministratorAccountUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selfManagedInstancesSettings
UpdateHybridAdRequest.Builder selfManagedInstancesSettings(HybridCustomerInstancesSettings selfManagedInstancesSettings) Updates to the self-managed AD configuration, including DNS server IP addresses and Amazon Web Services System Manager managed node identifiers.
- Parameters:
selfManagedInstancesSettings
- Updates to the self-managed AD configuration, including DNS server IP addresses and Amazon Web Services System Manager managed node identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfManagedInstancesSettings
default UpdateHybridAdRequest.Builder selfManagedInstancesSettings(Consumer<HybridCustomerInstancesSettings.Builder> selfManagedInstancesSettings) Updates to the self-managed AD configuration, including DNS server IP addresses and Amazon Web Services System Manager managed node identifiers.
This is a convenience method that creates an instance of theHybridCustomerInstancesSettings.Builder
avoiding the need to create one manually viaHybridCustomerInstancesSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselfManagedInstancesSettings(HybridCustomerInstancesSettings)
.- Parameters:
selfManagedInstancesSettings
- a consumer that will call methods onHybridCustomerInstancesSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateHybridAdRequest.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
UpdateHybridAdRequest.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.
-