public class CreateDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateDirectory operation.
NOOP| Constructor and Description |
|---|
CreateDirectoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDirectoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDescription()
A textual description for the directory.
|
String |
getName()
The fully qualified name for the directory, such as
corp.example.com. |
String |
getPassword()
The password for the directory administrator.
|
String |
getShortName()
The short name of the directory, such as
CORP. |
String |
getSize()
The size of the directory.
|
DirectoryVpcSettings |
getVpcSettings()
A DirectoryVpcSettings object that contains additional information
for the operation.
|
int |
hashCode() |
void |
setDescription(String description)
A textual description for the directory.
|
void |
setName(String name)
The fully qualified name for the directory, such as
corp.example.com. |
void |
setPassword(String password)
The password for the directory administrator.
|
void |
setShortName(String shortName)
The short name of the directory, such as
CORP. |
void |
setSize(DirectorySize size)
The size of the directory.
|
void |
setSize(String size)
The size of the directory.
|
void |
setVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information
for the operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDirectoryRequest |
withDescription(String description)
A textual description for the directory.
|
CreateDirectoryRequest |
withName(String name)
The fully qualified name for the directory, such as
corp.example.com. |
CreateDirectoryRequest |
withPassword(String password)
The password for the directory administrator.
|
CreateDirectoryRequest |
withShortName(String shortName)
The short name of the directory, such as
CORP. |
CreateDirectoryRequest |
withSize(DirectorySize size)
The size of the directory.
|
CreateDirectoryRequest |
withSize(String size)
The size of the directory.
|
CreateDirectoryRequest |
withVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information
for the operation.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The fully qualified name for the directory, such as
corp.example.com.
name - The fully qualified name for the directory, such as
corp.example.com.public String getName()
The fully qualified name for the directory, such as
corp.example.com.
corp.example.com.public CreateDirectoryRequest withName(String name)
The fully qualified name for the directory, such as
corp.example.com.
name - The fully qualified name for the directory, such as
corp.example.com.public void setShortName(String shortName)
The short name of the directory, such as CORP.
shortName - The short name of the directory, such as CORP.public String getShortName()
The short name of the directory, such as CORP.
CORP.public CreateDirectoryRequest withShortName(String shortName)
The short name of the directory, such as CORP.
shortName - The short name of the directory, such as CORP.public void setPassword(String password)
The password for the directory administrator. The directory creation
process creates a directory administrator account with the username
Administrator and this password.
password - The password for the directory administrator. The directory
creation process creates a directory administrator account with
the username Administrator and this password.public String getPassword()
The password for the directory administrator. The directory creation
process creates a directory administrator account with the username
Administrator and this password.
Administrator and this password.public CreateDirectoryRequest withPassword(String password)
The password for the directory administrator. The directory creation
process creates a directory administrator account with the username
Administrator and this password.
password - The password for the directory administrator. The directory
creation process creates a directory administrator account with
the username Administrator and this password.public void setDescription(String description)
A textual description for the directory.
description - A textual description for the directory.public String getDescription()
A textual description for the directory.
public CreateDirectoryRequest withDescription(String description)
A textual description for the directory.
description - A textual description for the directory.public void setSize(String size)
The size of the directory.
size - The size of the directory.DirectorySizepublic String getSize()
The size of the directory.
DirectorySizepublic CreateDirectoryRequest withSize(String size)
The size of the directory.
size - The size of the directory.DirectorySizepublic void setSize(DirectorySize size)
The size of the directory.
size - The size of the directory.DirectorySizepublic CreateDirectoryRequest withSize(DirectorySize size)
The size of the directory.
size - The size of the directory.DirectorySizepublic void setVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information for the operation.
vpcSettings - A DirectoryVpcSettings object that contains additional
information for the operation.public DirectoryVpcSettings getVpcSettings()
A DirectoryVpcSettings object that contains additional information for the operation.
public CreateDirectoryRequest withVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information for the operation.
vpcSettings - A DirectoryVpcSettings object that contains additional
information for the operation.public String toString()
toString in class ObjectObject.toString()public CreateDirectoryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.