Interface JoinDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<JoinDomainRequest.Builder,
,JoinDomainRequest> SdkBuilder<JoinDomainRequest.Builder,
,JoinDomainRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
JoinDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptiondomainControllers
(String... domainControllers) List of IPv4 addresses, NetBIOS names, or host names of your domain server.domainControllers
(Collection<String> domainControllers) List of IPv4 addresses, NetBIOS names, or host names of your domain server.domainName
(String domainName) The name of the domain that you want the gateway to join.gatewayARN
(String gatewayARN) The Amazon Resource Name (ARN) of the gateway.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sets the password of the user who has permission to add the gateway to the Active Directory domain.timeoutInSeconds
(Integer timeoutInSeconds) Specifies the time in seconds, in which theJoinDomain
operation must complete.Sets the user name of user who has permission to add the gateway to the Active Directory domain.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
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
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 theListGateways
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
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
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
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
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
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 theJoinDomain
operation must complete. The default is 20 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
JoinDomainRequest.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.
-