@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 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 NetBIOS name of the directory, such as
CORP . |
String |
getSize()
The size of the directory.
|
List<Tag> |
getTags()
The tags to be assigned to the Simple AD directory.
|
DirectoryVpcSettings |
getVpcSettings()
A DirectoryVpcSettings object that contains additional information for the operation.
|
int |
hashCode() |
void |
setDescription(String description)
A 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 NetBIOS 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 |
setTags(Collection<Tag> tags)
The tags to be assigned to the Simple AD directory.
|
void |
setVpcSettings(DirectoryVpcSettings vpcSettings)
A DirectoryVpcSettings object that contains additional information for the operation.
|
String |
toString()
Returns a string representation of this object.
|
CreateDirectoryRequest |
withDescription(String description)
A 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 NetBIOS 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 |
withTags(Collection<Tag> tags)
The tags to be assigned to the Simple AD directory.
|
CreateDirectoryRequest |
withTags(Tag... tags)
The tags to be assigned to the Simple AD 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 NetBIOS name of the directory, such as CORP
.
shortName
- The NetBIOS name of the directory, such as CORP
.public String getShortName()
The NetBIOS name of the directory, such as CORP
.
CORP
.public CreateDirectoryRequest withShortName(String shortName)
The NetBIOS name of the directory, such as CORP
.
shortName
- The NetBIOS 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 user name Administrator
and this password.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
The regex pattern for this string is made up of the following conditions:
Length (?=^.{8,64}$) – Must be between 8 and 64 characters
AND any 3 of the following password complexity rules required by Active Directory:
Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])
Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])
Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])
Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.
password
- The password for the directory administrator. The directory creation process creates a directory
administrator account with the user name Administrator
and this password.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
The regex pattern for this string is made up of the following conditions:
Length (?=^.{8,64}$) – Must be between 8 and 64 characters
AND any 3 of the following password complexity rules required by Active Directory:
Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])
Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])
Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])
Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.
public String getPassword()
The password for the directory administrator. The directory creation process creates a directory administrator
account with the user name Administrator
and this password.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
The regex pattern for this string is made up of the following conditions:
Length (?=^.{8,64}$) – Must be between 8 and 64 characters
AND any 3 of the following password complexity rules required by Active Directory:
Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])
Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])
Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])
Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.
Administrator
and this password.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
The regex pattern for this string is made up of the following conditions:
Length (?=^.{8,64}$) – Must be between 8 and 64 characters
AND any 3 of the following password complexity rules required by Active Directory:
Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])
Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])
Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])
Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.
public CreateDirectoryRequest withPassword(String password)
The password for the directory administrator. The directory creation process creates a directory administrator
account with the user name Administrator
and this password.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
The regex pattern for this string is made up of the following conditions:
Length (?=^.{8,64}$) – Must be between 8 and 64 characters
AND any 3 of the following password complexity rules required by Active Directory:
Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])
Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])
Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])
Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.
password
- The password for the directory administrator. The directory creation process creates a directory
administrator account with the user name Administrator
and this password.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
The regex pattern for this string is made up of the following conditions:
Length (?=^.{8,64}$) – Must be between 8 and 64 characters
AND any 3 of the following password complexity rules required by Active Directory:
Numbers and upper case and lowercase (?=.*\d)(?=.*[A-Z])(?=.*[a-z])
Numbers and special characters and lower case (?=.*\d)(?=.*[^A-Za-z0-9\s])(?=.*[a-z])
Special characters and upper case and lower case (?=.*[^A-Za-z0-9\s])(?=.*[A-Z])(?=.*[a-z])
Numbers and upper case and special characters (?=.*\d)(?=.*[A-Z])(?=.*[^A-Za-z0-9\s])
For additional information about how Active Directory passwords are enforced, see Password must meet complexity requirements on the Microsoft website.
public void setDescription(String description)
A description for the directory.
description
- A description for the directory.public String getDescription()
A description for the directory.
public CreateDirectoryRequest withDescription(String description)
A description for the directory.
description
- A 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 List<Tag> getTags()
The tags to be assigned to the Simple AD directory.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the Simple AD directory.
tags
- The tags to be assigned to the Simple AD directory.public CreateDirectoryRequest withTags(Tag... tags)
The tags to be assigned to the Simple AD directory.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to be assigned to the Simple AD directory.public CreateDirectoryRequest withTags(Collection<Tag> tags)
The tags to be assigned to the Simple AD directory.
tags
- The tags to be assigned to the Simple AD directory.public String toString()
toString
in class Object
Object.toString()
public CreateDirectoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()