Interface JoinDomainRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<JoinDomainRequest.Builder,JoinDomainRequest>, SdkBuilder<JoinDomainRequest.Builder,JoinDomainRequest>, SdkPojo, SdkRequest.Builder, StorageGatewayRequest.Builder
Enclosing class:
JoinDomainRequest

public static interface JoinDomainRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<JoinDomainRequest.Builder,JoinDomainRequest>
  • Method Details

    • gatewayARN

      JoinDomainRequest.Builder gatewayARN(String gatewayARN)

      The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.

      Parameters:
      gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainName

      JoinDomainRequest.Builder domainName(String domainName)

      The name of the domain that you want the gateway to join.

      Parameters:
      domainName - The name of the domain that you want the gateway to join.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationalUnit

      JoinDomainRequest.Builder organizationalUnit(String organizationalUnit)

      The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.

      Parameters:
      organizationalUnit - The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainControllers

      JoinDomainRequest.Builder domainControllers(Collection<String> domainControllers)

      List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.

      Parameters:
      domainControllers - List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainControllers

      JoinDomainRequest.Builder domainControllers(String... domainControllers)

      List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.

      Parameters:
      domainControllers - List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeoutInSeconds

      JoinDomainRequest.Builder timeoutInSeconds(Integer timeoutInSeconds)

      Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20 seconds.

      Parameters:
      timeoutInSeconds - Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20 seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userName

      JoinDomainRequest.Builder userName(String userName)

      Sets the user name of user who has permission to add the gateway to the Active Directory domain. The domain user account should be enabled to join computers to the domain. For example, you can use the domain administrator account or an account with delegated permissions to join computers to the domain.

      Parameters:
      userName - Sets the user name of user who has permission to add the gateway to the Active Directory domain. The domain user account should be enabled to join computers to the domain. For example, you can use the domain administrator account or an account with delegated permissions to join computers to the domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • password

      JoinDomainRequest.Builder password(String password)

      Sets the password of the user who has permission to add the gateway to the Active Directory domain.

      Parameters:
      password - Sets the password of the user who has permission to add the gateway to the Active Directory domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      JoinDomainRequest.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.