@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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.DirectorySize
public String getSize()
The size of the directory.
DirectorySize
public CreateDirectoryRequest withSize(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 String toString()
toString
in class Object
Object.toString()
public CreateDirectoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.