Class ConnectDirectoryRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.ConnectDirectoryRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ConnectDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the ConnectDirectory operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ConnectDirectoryRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectDirectoryRequest
clone()
Creates a shallow clone of this request.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 ascorp.example.com
.String
getPassword()
The password for the on-premises user account.String
getShortName()
The NetBIOS name of the on-premises directory, such asCORP
.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 ascorp.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 asCORP
.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 ascorp.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 asCORP
.ConnectDirectoryRequest
withSize(DirectorySize size)
The size of the directory.ConnectDirectoryRequest
withSize(String size)
The size of the directory.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setName
public void setName(String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com
.- Parameters:
name
- The fully-qualified name of the on-premises directory, such ascorp.example.com
.
-
getName
public String getName()
The fully-qualified name of the on-premises directory, such as
corp.example.com
.- Returns:
- The fully-qualified name of the on-premises directory, such as
corp.example.com
.
-
withName
public ConnectDirectoryRequest withName(String name)
The fully-qualified name of the on-premises directory, such as
corp.example.com
.- Parameters:
name
- The fully-qualified name of the on-premises directory, such ascorp.example.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShortName
public void setShortName(String shortName)
The NetBIOS name of the on-premises directory, such as
CORP
.- Parameters:
shortName
- The NetBIOS name of the on-premises directory, such asCORP
.
-
getShortName
public String getShortName()
The NetBIOS name of the on-premises directory, such as
CORP
.- Returns:
- The NetBIOS name of the on-premises directory, such as
CORP
.
-
withShortName
public ConnectDirectoryRequest withShortName(String shortName)
The NetBIOS name of the on-premises directory, such as
CORP
.- Parameters:
shortName
- The NetBIOS name of the on-premises directory, such asCORP
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassword
public void setPassword(String password)
The password for the on-premises user account.
- Parameters:
password
- The password for the on-premises user account.
-
getPassword
public String getPassword()
The password for the on-premises user account.
- Returns:
- The password for the on-premises user account.
-
withPassword
public ConnectDirectoryRequest withPassword(String password)
The password for the on-premises user account.
- Parameters:
password
- The password for the on-premises user account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A textual description for the directory.
- Parameters:
description
- A textual description for the directory.
-
getDescription
public String getDescription()
A textual description for the directory.
- Returns:
- A textual description for the directory.
-
withDescription
public ConnectDirectoryRequest withDescription(String description)
A textual description for the directory.
- Parameters:
description
- A textual description for the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSize
public void setSize(String size)
The size of the directory.
- Parameters:
size
- The size of the directory.- See Also:
DirectorySize
-
getSize
public String getSize()
The size of the directory.
- Returns:
- The size of the directory.
- See Also:
DirectorySize
-
withSize
public ConnectDirectoryRequest withSize(String size)
The size of the directory.
- Parameters:
size
- The size of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DirectorySize
-
setSize
public void setSize(DirectorySize size)
The size of the directory.
- Parameters:
size
- The size of the directory.- See Also:
DirectorySize
-
withSize
public ConnectDirectoryRequest withSize(DirectorySize size)
The size of the directory.
- Parameters:
size
- The size of the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DirectorySize
-
setConnectSettings
public void setConnectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
- Parameters:
connectSettings
- A DirectoryConnectSettings object that contains additional information for the operation.
-
getConnectSettings
public DirectoryConnectSettings getConnectSettings()
A DirectoryConnectSettings object that contains additional information for the operation.
- Returns:
- A DirectoryConnectSettings object that contains additional information for the operation.
-
withConnectSettings
public ConnectDirectoryRequest withConnectSettings(DirectoryConnectSettings connectSettings)
A DirectoryConnectSettings object that contains additional information for the operation.
- Parameters:
connectSettings
- A DirectoryConnectSettings object that contains additional information for the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConnectDirectoryRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-