public class ConnectDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ConnectDirectory operation.
Creates an AD Connector to connect an on-premises directory.
NOOP| Constructor and Description |
|---|
ConnectDirectoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
ConnectDirectoryRequest |
clone() |
boolean |
equals(Object obj) |
DirectoryConnectSettings |
getConnectSettings()
A DirectoryConnectSettings object that contains additional
information for the operation.
|
String |
getDescription()
A textual description for the directory.
|
String |
getName()
The fully-qualified name of the on-premises directory, such as
corp.example.com. |
String |
getPassword()
The password for the on-premises user account.
|
String |
getShortName()
The NetBIOS name of the on-premises directory, such as
CORP. |
String |
getSize()
The size of the directory.
|
int |
hashCode() |
void |
setConnectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional
information for the operation.
|
void |
setDescription(String description)
A textual description for the directory.
|
void |
setName(String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com. |
void |
setPassword(String password)
The password for the on-premises user account.
|
void |
setShortName(String shortName)
The NetBIOS name of the on-premises directory, such as
CORP. |
void |
setSize(DirectorySize size)
The size of the directory.
|
void |
setSize(String size)
The size of the directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConnectDirectoryRequest |
withConnectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional
information for the operation.
|
ConnectDirectoryRequest |
withDescription(String description)
A textual description for the directory.
|
ConnectDirectoryRequest |
withName(String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com. |
ConnectDirectoryRequest |
withPassword(String password)
The password for the on-premises user account.
|
ConnectDirectoryRequest |
withShortName(String shortName)
The NetBIOS name of the on-premises directory, such as
CORP. |
ConnectDirectoryRequest |
withSize(DirectorySize size)
The size of the directory.
|
ConnectDirectoryRequest |
withSize(String size)
The size of the directory.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getName()
corp.example.com.
Constraints:
Pattern: ^([a-zA-Z0-9]+[\\.-])+([a-zA-Z0-9])+$
corp.example.com.public void setName(String name)
corp.example.com.
Constraints:
Pattern: ^([a-zA-Z0-9]+[\\.-])+([a-zA-Z0-9])+$
name - The fully-qualified name of the on-premises directory, such as
corp.example.com.public ConnectDirectoryRequest withName(String name)
corp.example.com.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^([a-zA-Z0-9]+[\\.-])+([a-zA-Z0-9])+$
name - The fully-qualified name of the on-premises directory, such as
corp.example.com.public String getShortName()
CORP.
Constraints:
Pattern: ^[^\\/:*?\"\<\>|.]+[^\\/:*?\"<>|]*$
CORP.public void setShortName(String shortName)
CORP.
Constraints:
Pattern: ^[^\\/:*?\"\<\>|.]+[^\\/:*?\"<>|]*$
shortName - The NetBIOS name of the on-premises directory, such as
CORP.public ConnectDirectoryRequest withShortName(String shortName)
CORP.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^[^\\/:*?\"\<\>|.]+[^\\/:*?\"<>|]*$
shortName - The NetBIOS name of the on-premises directory, such as
CORP.public String getPassword()
Constraints:
Length: 1 - 128
public void setPassword(String password)
Constraints:
Length: 1 - 128
password - The password for the on-premises user account.public ConnectDirectoryRequest withPassword(String password)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
password - The password for the on-premises user account.public String getDescription()
Constraints:
Length: 0 - 128
Pattern: ^([a-zA-Z0-9_])[\\a-zA-Z0-9_@#%*+=:?./!\s-]*$
public void setDescription(String description)
Constraints:
Length: 0 - 128
Pattern: ^([a-zA-Z0-9_])[\\a-zA-Z0-9_@#%*+=:?./!\s-]*$
description - A textual description for the directory.public ConnectDirectoryRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 128
Pattern: ^([a-zA-Z0-9_])[\\a-zA-Z0-9_@#%*+=:?./!\s-]*$
description - A textual description for the directory.public String getSize()
Constraints:
Allowed Values: Small, Large
DirectorySizepublic void setSize(String size)
Constraints:
Allowed Values: Small, Large
size - The size of the directory.DirectorySizepublic ConnectDirectoryRequest withSize(String size)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Small, Large
size - The size of the directory.DirectorySizepublic void setSize(DirectorySize size)
Constraints:
Allowed Values: Small, Large
size - The size of the directory.DirectorySizepublic ConnectDirectoryRequest withSize(DirectorySize size)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Small, Large
size - The size of the directory.DirectorySizepublic DirectoryConnectSettings getConnectSettings()
public void setConnectSettings(DirectoryConnectSettings connectSettings)
connectSettings - A DirectoryConnectSettings object that contains additional
information for the operation.public ConnectDirectoryRequest withConnectSettings(DirectoryConnectSettings connectSettings)
Returns a reference to this object so that method calls can be chained together.
connectSettings - A DirectoryConnectSettings object that contains additional
information for the operation.public String toString()
toString in class ObjectObject.toString()public ConnectDirectoryRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.