public class CreateDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateDirectory operation.
Creates a Simple AD directory.
NOOP| Constructor and Description |
|---|
CreateDirectoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDirectoryRequest |
clone() |
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, 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 for the directory, such as
corp.example.com.public CreateDirectoryRequest 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 for the directory, such as
corp.example.com.public String getShortName()
CORP.
Constraints:
Pattern: ^[^\\/:*?\"\<\>|.]+[^\\/:*?\"<>|]*$
CORP.public void setShortName(String shortName)
CORP.
Constraints:
Pattern: ^[^\\/:*?\"\<\>|.]+[^\\/:*?\"<>|]*$
shortName - The short name of the directory, such as CORP.public CreateDirectoryRequest withShortName(String shortName)
CORP.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^[^\\/:*?\"\<\>|.]+[^\\/:*?\"<>|]*$
shortName - The short name of the directory, such as CORP.public String getPassword()
Administrator and this password.
Constraints:
Pattern: (?=^.{8,64}$)((?=.*\d)(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[^A-Za-z0-9])(?=.*[a-z])|(?=.*[^A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9]))^.*
Administrator and this password.public void setPassword(String password)
Administrator and this password.
Constraints:
Pattern: (?=^.{8,64}$)((?=.*\d)(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[^A-Za-z0-9])(?=.*[a-z])|(?=.*[^A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9]))^.*
password - The password for the directory administrator. The directory creation
process creates a directory administrator account with the username
Administrator and this password.public CreateDirectoryRequest withPassword(String password)
Administrator and this password.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (?=^.{8,64}$)((?=.*\d)(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[^A-Za-z0-9])(?=.*[a-z])|(?=.*[^A-Za-z0-9])(?=.*[A-Z])(?=.*[a-z])|(?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9]))^.*
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 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 CreateDirectoryRequest 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 CreateDirectoryRequest 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 CreateDirectoryRequest 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 DirectoryVpcSettings getVpcSettings()
public void setVpcSettings(DirectoryVpcSettings vpcSettings)
vpcSettings - A DirectoryVpcSettings object that contains additional
information for the operation.public CreateDirectoryRequest withVpcSettings(DirectoryVpcSettings vpcSettings)
Returns a reference to this object so that method calls can be chained together.
vpcSettings - A DirectoryVpcSettings object that contains additional
information for the operation.public String toString()
toString in class ObjectObject.toString()public CreateDirectoryRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.