Interface CreateHybridAdRequest.Builder

  • Method Details

    • secretArn

      CreateHybridAdRequest.Builder secretArn(String 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 customerAdAdminDomainUsername and customerAdAdminDomainPassword. 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 customerAdAdminDomainUsername and customerAdAdminDomainPassword. For example: {"customerAdAdminDomainUsername":"carlos_salazar","customerAdAdminDomainPassword":"ExamplePassword123!"}.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assessmentId

      CreateHybridAdRequest.Builder assessmentId(String 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.