Class CreateDirectoryRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the inputs for the CreateDirectory operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A textual description for the directory.getName()
The fully qualified name for the directory, such ascorp.example.com
.The password for the directory administrator.The short name of the directory, such asCORP
.getSize()
The size of the directory.A DirectoryVpcSettings object that contains additional information for the operation.int
hashCode()
void
setDescription
(String description) A textual description for the directory.void
The fully qualified name for the directory, such ascorp.example.com
.void
setPassword
(String password) The password for the directory administrator.void
setShortName
(String shortName) The short name of the directory, such asCORP
.void
setSize
(DirectorySize size) The size of the directory.void
The size of the directory.void
setVpcSettings
(DirectoryVpcSettings vpcSettings) A DirectoryVpcSettings object that contains additional information for the operation.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) A textual description for the directory.The fully qualified name for the directory, such ascorp.example.com
.withPassword
(String password) The password for the directory administrator.withShortName
(String shortName) The short name of the directory, such asCORP
.withSize
(DirectorySize size) The size of the directory.The size of the directory.withVpcSettings
(DirectoryVpcSettings vpcSettings) A DirectoryVpcSettings object that contains additional information for the operation.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
-
Constructor Details
-
CreateDirectoryRequest
public CreateDirectoryRequest()
-
-
Method Details
-
setName
The fully qualified name for the directory, such as
corp.example.com
.- Parameters:
name
- The fully qualified name for the directory, such ascorp.example.com
.
-
getName
The fully qualified name for the directory, such as
corp.example.com
.- Returns:
- The fully qualified name for the directory, such as
corp.example.com
.
-
withName
The fully qualified name for the directory, such as
corp.example.com
.- Parameters:
name
- The fully qualified name for the directory, such ascorp.example.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShortName
The short name of the directory, such as
CORP
.- Parameters:
shortName
- The short name of the directory, such asCORP
.
-
getShortName
The short name of the directory, such as
CORP
.- Returns:
- The short name of the directory, such as
CORP
.
-
withShortName
The short name of the directory, such as
CORP
.- Parameters:
shortName
- The short name of the directory, such asCORP
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassword
The password for the directory administrator. The directory creation process creates a directory administrator account with the username
Administrator
and this password.- Parameters:
password
- The password for the directory administrator. The directory creation process creates a directory administrator account with the usernameAdministrator
and this password.
-
getPassword
The password for the directory administrator. The directory creation process creates a directory administrator account with the username
Administrator
and this password.- Returns:
- The password for the directory administrator. The directory
creation process creates a directory administrator account with
the username
Administrator
and this password.
-
withPassword
The password for the directory administrator. The directory creation process creates a directory administrator account with the username
Administrator
and this password.- Parameters:
password
- The password for the directory administrator. The directory creation process creates a directory administrator account with the usernameAdministrator
and this password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A textual description for the directory.
- Parameters:
description
- A textual description for the directory.
-
getDescription
A textual description for the directory.
- Returns:
- A textual description for the directory.
-
withDescription
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
The size of the directory.
- Parameters:
size
- The size of the directory.- See Also:
-
getSize
The size of the directory.
- Returns:
- The size of the directory.
- See Also:
-
withSize
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:
-
setSize
The size of the directory.
- Parameters:
size
- The size of the directory.- See Also:
-
withSize
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:
-
setVpcSettings
A DirectoryVpcSettings object that contains additional information for the operation.
- Parameters:
vpcSettings
- A DirectoryVpcSettings object that contains additional information for the operation.
-
getVpcSettings
A DirectoryVpcSettings object that contains additional information for the operation.
- Returns:
- A DirectoryVpcSettings object that contains additional information for the operation.
-
withVpcSettings
A DirectoryVpcSettings object that contains additional information for the operation.
- Parameters:
vpcSettings
- A DirectoryVpcSettings object that contains additional information for the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-