@Generated(value="software.amazon.awssdk:codegen") public final class JoinDomainRequest extends StorageGatewayRequest implements ToCopyableBuilder<JoinDomainRequest.Builder,JoinDomainRequest>
JoinDomainInput
| Modifier and Type | Class and Description |
|---|---|
static interface |
JoinDomainRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JoinDomainRequest.Builder |
builder() |
List<String> |
domainControllers()
List of IPv4 addresses, NetBIOS names, or host names of your domain server.
|
String |
domainName()
The name of the domain that you want the gateway to join.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gatewayARN()
The Amazon Resource Name (ARN) of the gateway.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDomainControllers()
For responses, this returns true if the service returned a value for the DomainControllers property.
|
int |
hashCode() |
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.
|
String |
password()
Sets the password of the user who has permission to add the gateway to the Active Directory domain.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JoinDomainRequest.Builder> |
serializableBuilderClass() |
Integer |
timeoutInSeconds()
Specifies the time in seconds, in which the
JoinDomain operation must complete. |
JoinDomainRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
Sets the user name of user who has permission to add the gateway to the Active Directory domain.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
ListGateways operation to return a
list of gateways for your account and Amazon Web Services Region.public final String domainName()
The name of the domain that you want the gateway to join.
public final 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.
public final boolean hasDomainControllers()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDomainControllers() method.
mydc.mydomain.com:389.public final Integer timeoutInSeconds()
Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20
seconds.
JoinDomain operation must complete. The default
is 20 seconds.public final 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.
public final String password()
Sets the password of the user who has permission to add the gateway to the Active Directory domain.
public JoinDomainRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JoinDomainRequest.Builder,JoinDomainRequest>toBuilder in class StorageGatewayRequestpublic static JoinDomainRequest.Builder builder()
public static Class<? extends JoinDomainRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.