Class CreateDirectoryRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.CreateDirectoryRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateDirectoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the inputs for the CreateDirectory operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateDirectoryRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 ascorp.example.com
.String
getPassword()
The password for the directory administrator.String
getShortName()
The short name of the directory, such asCORP
.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 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
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 ascorp.example.com
.CreateDirectoryRequest
withPassword(String password)
The password for the directory administrator.CreateDirectoryRequest
withShortName(String shortName)
The short name of the directory, such asCORP
.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.-
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
-
-
-
-
Method Detail
-
setName
public void setName(String name)
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
public String 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
public CreateDirectoryRequest withName(String name)
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
public void setShortName(String shortName)
The short name of the directory, such as
CORP
.- Parameters:
shortName
- The short name of the directory, such asCORP
.
-
getShortName
public String getShortName()
The short name of the directory, such as
CORP
.- Returns:
- The short name of the directory, such as
CORP
.
-
withShortName
public CreateDirectoryRequest withShortName(String shortName)
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
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.- Parameters:
password
- The password for the directory administrator. The directory creation process creates a directory administrator account with the usernameAdministrator
and this password.
-
getPassword
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.- Returns:
- The password for the directory administrator. The directory
creation process creates a directory administrator account with
the username
Administrator
and this password.
-
withPassword
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.- 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
public void setDescription(String description)
A textual description for the directory.
- Parameters:
description
- A textual description for the directory.
-
getDescription
public String getDescription()
A textual description for the directory.
- Returns:
- A textual description for the directory.
-
withDescription
public CreateDirectoryRequest withDescription(String description)
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
public void setSize(String size)
The size of the directory.
- Parameters:
size
- The size of the directory.- See Also:
DirectorySize
-
getSize
public String getSize()
The size of the directory.
- Returns:
- The size of the directory.
- See Also:
DirectorySize
-
withSize
public CreateDirectoryRequest withSize(String size)
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:
DirectorySize
-
setSize
public void setSize(DirectorySize size)
The size of the directory.
- Parameters:
size
- The size of the directory.- See Also:
DirectorySize
-
withSize
public CreateDirectoryRequest withSize(DirectorySize size)
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:
DirectorySize
-
setVpcSettings
public void setVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information for the operation.
- Parameters:
vpcSettings
- A DirectoryVpcSettings object that contains additional information for the operation.
-
getVpcSettings
public DirectoryVpcSettings getVpcSettings()
A DirectoryVpcSettings object that contains additional information for the operation.
- Returns:
- A DirectoryVpcSettings object that contains additional information for the operation.
-
withVpcSettings
public CreateDirectoryRequest withVpcSettings(DirectoryVpcSettings vpcSettings)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDirectoryRequest 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:
Object.clone()
-
-