public class CreateDirectoryRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the inputs for the CreateDirectory operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A textual description for the directory.
|
private java.lang.String |
name
The fully qualified name for the directory, such as
corp.example.com . |
private java.lang.String |
password
The password for the directory administrator.
|
private java.lang.String |
shortName
The short name of the directory, such as
CORP . |
private java.lang.String |
size
The size of the directory.
|
private DirectoryVpcSettings |
vpcSettings
A DirectoryVpcSettings object that contains additional information
for the operation.
|
NOOP
Constructor and Description |
---|
CreateDirectoryRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDirectoryRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A textual description for the directory.
|
java.lang.String |
getName()
The fully qualified name for the directory, such as
corp.example.com . |
java.lang.String |
getPassword()
The password for the directory administrator.
|
java.lang.String |
getShortName()
The short name of the directory, such as
CORP . |
java.lang.String |
getSize()
The size of the directory.
|
DirectoryVpcSettings |
getVpcSettings()
A DirectoryVpcSettings object that contains additional information
for the operation.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A textual description for the directory.
|
void |
setName(java.lang.String name)
The fully qualified name for the directory, such as
corp.example.com . |
void |
setPassword(java.lang.String password)
The password for the directory administrator.
|
void |
setShortName(java.lang.String shortName)
The short name of the directory, such as
CORP . |
void |
setSize(DirectorySize size)
The size of the directory.
|
void |
setSize(java.lang.String size)
The size of the directory.
|
void |
setVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information
for the operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDirectoryRequest |
withDescription(java.lang.String description)
A textual description for the directory.
|
CreateDirectoryRequest |
withName(java.lang.String name)
The fully qualified name for the directory, such as
corp.example.com . |
CreateDirectoryRequest |
withPassword(java.lang.String password)
The password for the directory administrator.
|
CreateDirectoryRequest |
withShortName(java.lang.String shortName)
The short name of the directory, such as
CORP . |
CreateDirectoryRequest |
withSize(DirectorySize size)
The size of the directory.
|
CreateDirectoryRequest |
withSize(java.lang.String size)
The size of the directory.
|
CreateDirectoryRequest |
withVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information
for the operation.
|
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 for the directory, such as
corp.example.com
.
private java.lang.String shortName
The short name of the directory, such as CORP
.
private java.lang.String password
The password for the directory administrator. The directory creation
process creates a directory administrator account with the username
Administrator
and this password.
private java.lang.String description
A textual description for the directory.
private java.lang.String size
The size of the directory.
private DirectoryVpcSettings vpcSettings
A DirectoryVpcSettings object that contains additional information for the operation.
public void setName(java.lang.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 java.lang.String getName()
The fully qualified name for the directory, such as
corp.example.com
.
corp.example.com
.public CreateDirectoryRequest withName(java.lang.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(java.lang.String shortName)
The short name of the directory, such as CORP
.
shortName
- The short name of the directory, such as CORP
.public java.lang.String getShortName()
The short name of the directory, such as CORP
.
CORP
.public CreateDirectoryRequest withShortName(java.lang.String shortName)
The short name of the directory, such as CORP
.
shortName
- The short name of the directory, such as CORP
.public void setPassword(java.lang.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 java.lang.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(java.lang.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(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 CreateDirectoryRequest 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 CreateDirectoryRequest 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 CreateDirectoryRequest withSize(DirectorySize size)
The size of the directory.
size
- The size of the directory.DirectorySize
public 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 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 CreateDirectoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()