public class ConnectDirectoryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the ConnectDirectory operation.
Modifier and Type | Field and Description |
---|---|
private DirectoryConnectSettings |
connectSettings
A DirectoryConnectSettings object that contains additional
information for the operation.
|
private java.lang.String |
description
A textual description for the directory.
|
private java.lang.String |
name
The fully-qualified name of the on-premises directory, such as
corp.example.com . |
private java.lang.String |
password
The password for the on-premises user account.
|
private java.lang.String |
shortName
The NetBIOS name of the on-premises directory, such as
CORP . |
private java.lang.String |
size
The size of the directory.
|
NOOP
Constructor and Description |
---|
ConnectDirectoryRequest() |
Modifier and Type | Method and Description |
---|---|
ConnectDirectoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
DirectoryConnectSettings |
getConnectSettings()
A DirectoryConnectSettings object that contains additional
information for the operation.
|
java.lang.String |
getDescription()
A textual description for the directory.
|
java.lang.String |
getName()
The fully-qualified name of the on-premises directory, such as
corp.example.com . |
java.lang.String |
getPassword()
The password for the on-premises user account.
|
java.lang.String |
getShortName()
The NetBIOS name of the on-premises directory, such as
CORP . |
java.lang.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(java.lang.String description)
A textual description for the directory.
|
void |
setName(java.lang.String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com . |
void |
setPassword(java.lang.String password)
The password for the on-premises user account.
|
void |
setShortName(java.lang.String shortName)
The NetBIOS name of the on-premises directory, such as
CORP . |
void |
setSize(DirectorySize size)
The size of the directory.
|
void |
setSize(java.lang.String size)
The size of the directory.
|
java.lang.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(java.lang.String description)
A textual description for the directory.
|
ConnectDirectoryRequest |
withName(java.lang.String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com . |
ConnectDirectoryRequest |
withPassword(java.lang.String password)
The password for the on-premises user account.
|
ConnectDirectoryRequest |
withShortName(java.lang.String shortName)
The NetBIOS name of the on-premises directory, such as
CORP . |
ConnectDirectoryRequest |
withSize(DirectorySize size)
The size of the directory.
|
ConnectDirectoryRequest |
withSize(java.lang.String size)
The size of the directory.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String name
The fully-qualified name of the on-premises directory, such as
corp.example.com
.
private java.lang.String shortName
The NetBIOS name of the on-premises directory, such as CORP
.
private java.lang.String password
The password for the on-premises user account.
private java.lang.String description
A textual description for the directory.
private java.lang.String size
The size of the directory.
private DirectoryConnectSettings connectSettings
A DirectoryConnectSettings object that contains additional information for the operation.
public void setName(java.lang.String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com
.
name
- The fully-qualified name of the on-premises directory, such as
corp.example.com
.public java.lang.String getName()
The fully-qualified name of the on-premises directory, such as
corp.example.com
.
corp.example.com
.public ConnectDirectoryRequest withName(java.lang.String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com
.
name
- The fully-qualified name of the on-premises directory, such as
corp.example.com
.public void setShortName(java.lang.String shortName)
The NetBIOS name of the on-premises directory, such as CORP
.
shortName
- The NetBIOS name of the on-premises directory, such as
CORP
.public java.lang.String getShortName()
The NetBIOS name of the on-premises directory, such as CORP
.
CORP
.public ConnectDirectoryRequest withShortName(java.lang.String shortName)
The NetBIOS name of the on-premises directory, such as CORP
.
shortName
- The NetBIOS name of the on-premises directory, such as
CORP
.public void setPassword(java.lang.String password)
The password for the on-premises user account.
password
- The password for the on-premises user account.public java.lang.String getPassword()
The password for the on-premises user account.
public ConnectDirectoryRequest withPassword(java.lang.String password)
The password for the on-premises user account.
password
- The password for the on-premises user account.public void setDescription(java.lang.String description)
A textual description for the directory.
description
- A textual description for the directory.public java.lang.String getDescription()
A textual description for the directory.
public ConnectDirectoryRequest withDescription(java.lang.String description)
A textual description for the directory.
description
- A textual description for the directory.public void setSize(java.lang.String size)
The size of the directory.
size
- The size of the directory.DirectorySize
public java.lang.String getSize()
The size of the directory.
DirectorySize
public ConnectDirectoryRequest withSize(java.lang.String size)
The size of the directory.
size
- The size of the directory.DirectorySize
public void setSize(DirectorySize size)
The size of the directory.
size
- The size of the directory.DirectorySize
public ConnectDirectoryRequest withSize(DirectorySize size)
The size of the directory.
size
- The size of the directory.DirectorySize
public void setConnectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
connectSettings
- A DirectoryConnectSettings object that contains additional
information for the operation.public DirectoryConnectSettings getConnectSettings()
A DirectoryConnectSettings object that contains additional information for the operation.
public ConnectDirectoryRequest withConnectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
connectSettings
- A DirectoryConnectSettings object that contains additional
information for the operation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConnectDirectoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()