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 CreateDirectoryRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDescription()A textual description for the directory.StringgetName()The fully qualified name for the directory, such ascorp.example.com.StringgetPassword()The password for the directory administrator.StringgetShortName()The short name of the directory, such asCORP.StringgetSize()The size of the directory.DirectoryVpcSettingsgetVpcSettings()A DirectoryVpcSettings object that contains additional information for the operation.inthashCode()voidsetDescription(String description)A textual description for the directory.voidsetName(String name)The fully qualified name for the directory, such ascorp.example.com.voidsetPassword(String password)The password for the directory administrator.voidsetShortName(String shortName)The short name of the directory, such asCORP.voidsetSize(DirectorySize size)The size of the directory.voidsetSize(String size)The size of the directory.voidsetVpcSettings(DirectoryVpcSettings vpcSettings)A DirectoryVpcSettings object that contains additional information for the operation.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateDirectoryRequestwithDescription(String description)A textual description for the directory.CreateDirectoryRequestwithName(String name)The fully qualified name for the directory, such ascorp.example.com.CreateDirectoryRequestwithPassword(String password)The password for the directory administrator.CreateDirectoryRequestwithShortName(String shortName)The short name of the directory, such asCORP.CreateDirectoryRequestwithSize(DirectorySize size)The size of the directory.CreateDirectoryRequestwithSize(String size)The size of the directory.CreateDirectoryRequestwithVpcSettings(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
Administratorand this password.- Parameters:
password- The password for the directory administrator. The directory creation process creates a directory administrator account with the usernameAdministratorand this password.
-
getPassword
public String getPassword()
The password for the directory administrator. The directory creation process creates a directory administrator account with the username
Administratorand this password.- Returns:
- The password for the directory administrator. The directory
creation process creates a directory administrator account with
the username
Administratorand 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
Administratorand this password.- Parameters:
password- The password for the directory administrator. The directory creation process creates a directory administrator account with the usernameAdministratorand 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateDirectoryRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-