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 ConnectDirectoryRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)DirectoryConnectSettingsgetConnectSettings()A DirectoryConnectSettings object that contains additional information for the operation.StringgetDescription()A textual description for the directory.StringgetName()The fully-qualified name of the on-premises directory, such ascorp.example.com.StringgetPassword()The password for the on-premises user account.StringgetShortName()The NetBIOS name of the on-premises directory, such asCORP.StringgetSize()The size of the directory.inthashCode()voidsetConnectSettings(DirectoryConnectSettings connectSettings)A DirectoryConnectSettings object that contains additional information for the operation.voidsetDescription(String description)A textual description for the directory.voidsetName(String name)The fully-qualified name of the on-premises directory, such ascorp.example.com.voidsetPassword(String password)The password for the on-premises user account.voidsetShortName(String shortName)The NetBIOS name of the on-premises directory, such asCORP.voidsetSize(DirectorySize size)The size of the directory.voidsetSize(String size)The size of the directory.StringtoString()Returns a string representation of this object; useful for testing and debugging.ConnectDirectoryRequestwithConnectSettings(DirectoryConnectSettings connectSettings)A DirectoryConnectSettings object that contains additional information for the operation.ConnectDirectoryRequestwithDescription(String description)A textual description for the directory.ConnectDirectoryRequestwithName(String name)The fully-qualified name of the on-premises directory, such ascorp.example.com.ConnectDirectoryRequestwithPassword(String password)The password for the on-premises user account.ConnectDirectoryRequestwithShortName(String shortName)The NetBIOS name of the on-premises directory, such asCORP.ConnectDirectoryRequestwithSize(DirectorySize size)The size of the directory.ConnectDirectoryRequestwithSize(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConnectDirectoryRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-