Interface CreateHybridAdRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateHybridAdRequest.Builder,,CreateHybridAdRequest> DirectoryRequest.Builder,SdkBuilder<CreateHybridAdRequest.Builder,,CreateHybridAdRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHybridAdRequest
-
Method Summary
Modifier and TypeMethodDescriptionassessmentId(String assessmentId) The unique identifier of the successful directory assessment that validates your self-managed AD environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials for the service account used to join hybrid domain controllers to your self-managed AD domain.tags(Collection<Tag> tags) The tags to be assigned to the directory.tags(Consumer<Tag.Builder>... tags) The tags to be assigned to the directory.The tags to be assigned to the directory.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
secretArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials for the service account used to join hybrid domain controllers to your self-managed AD domain. This secret is used once and not stored.
The secret must contain key-value pairs with keys matching
customerAdAdminDomainUsernameandcustomerAdAdminDomainPassword. For example:{"customerAdAdminDomainUsername":"carlos_salazar","customerAdAdminDomainPassword":"ExamplePassword123!"}.- Parameters:
secretArn- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials for the service account used to join hybrid domain controllers to your self-managed AD domain. This secret is used once and not stored.The secret must contain key-value pairs with keys matching
customerAdAdminDomainUsernameandcustomerAdAdminDomainPassword. For example:{"customerAdAdminDomainUsername":"carlos_salazar","customerAdAdminDomainPassword":"ExamplePassword123!"}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentId
The unique identifier of the successful directory assessment that validates your self-managed AD environment. You must have a successful directory assessment before you create a hybrid directory.
- Parameters:
assessmentId- The unique identifier of the successful directory assessment that validates your self-managed AD environment. You must have a successful directory assessment before you create a hybrid directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to the directory. Each tag consists of a key and value pair. You can specify multiple tags as a list.
- Parameters:
tags- The tags to be assigned to the directory. Each tag consists of a key and value pair. You can specify multiple tags as a list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to the directory. Each tag consists of a key and value pair. You can specify multiple tags as a list.
- Parameters:
tags- The tags to be assigned to the directory. Each tag consists of a key and value pair. You can specify multiple tags as a list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to the directory. Each tag consists of a key and value pair. You can specify multiple tags as a list.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateHybridAdRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHybridAdRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-