Class CreateMicrosoftADRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.directory.model.CreateMicrosoftADRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateMicrosoftADRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a Microsoft AD in the AWS cloud.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateMicrosoftADRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateMicrosoftADRequest
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 domain name for the directory, such ascorp.example.com
.String
getPassword()
The password for the default administrative user namedAdmin
.String
getShortName()
The NetBIOS name for your domain.DirectoryVpcSettings
getVpcSettings()
int
hashCode()
void
setDescription(String description)
A textual description for the directory.void
setName(String name)
The fully qualified domain name for the directory, such ascorp.example.com
.void
setPassword(String password)
The password for the default administrative user namedAdmin
.void
setShortName(String shortName)
The NetBIOS name for your domain.void
setVpcSettings(DirectoryVpcSettings vpcSettings)
String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateMicrosoftADRequest
withDescription(String description)
A textual description for the directory.CreateMicrosoftADRequest
withName(String name)
The fully qualified domain name for the directory, such ascorp.example.com
.CreateMicrosoftADRequest
withPassword(String password)
The password for the default administrative user namedAdmin
.CreateMicrosoftADRequest
withShortName(String shortName)
The NetBIOS name for your domain.CreateMicrosoftADRequest
withVpcSettings(DirectoryVpcSettings vpcSettings)
-
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 domain name for the directory, such as
corp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.- Parameters:
name
- The fully qualified domain name for the directory, such ascorp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.
-
getName
public String getName()
The fully qualified domain name for the directory, such as
corp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.- Returns:
- The fully qualified domain name for the directory, such as
corp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.
-
withName
public CreateMicrosoftADRequest withName(String name)
The fully qualified domain name for the directory, such as
corp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.- Parameters:
name
- The fully qualified domain name for the directory, such ascorp.example.com
. This name will resolve inside your VPC only. It does not need to be publicly resolvable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setShortName
public void setShortName(String shortName)
The NetBIOS name for your domain. A short identifier for your domain, such as
CORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.- Parameters:
shortName
- The NetBIOS name for your domain. A short identifier for your domain, such asCORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.
-
getShortName
public String getShortName()
The NetBIOS name for your domain. A short identifier for your domain, such as
CORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.- Returns:
- The NetBIOS name for your domain. A short identifier for your
domain, such as
CORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.
-
withShortName
public CreateMicrosoftADRequest withShortName(String shortName)
The NetBIOS name for your domain. A short identifier for your domain, such as
CORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.- Parameters:
shortName
- The NetBIOS name for your domain. A short identifier for your domain, such asCORP
. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example,CORP
for the directory DNScorp.example.com
.- 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 default administrative user named
Admin
.- Parameters:
password
- The password for the default administrative user namedAdmin
.
-
getPassword
public String getPassword()
The password for the default administrative user named
Admin
.- Returns:
- The password for the default administrative user named
Admin
.
-
withPassword
public CreateMicrosoftADRequest withPassword(String password)
The password for the default administrative user named
Admin
.- Parameters:
password
- The password for the default administrative user namedAdmin
.- 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. This label will appear on the AWS console
Directory Details
page after the directory is created.- Parameters:
description
- A textual description for the directory. This label will appear on the AWS consoleDirectory Details
page after the directory is created.
-
getDescription
public String getDescription()
A textual description for the directory. This label will appear on the AWS console
Directory Details
page after the directory is created.- Returns:
- A textual description for the directory. This label will appear
on the AWS console
Directory Details
page after the directory is created.
-
withDescription
public CreateMicrosoftADRequest withDescription(String description)
A textual description for the directory. This label will appear on the AWS console
Directory Details
page after the directory is created.- Parameters:
description
- A textual description for the directory. This label will appear on the AWS consoleDirectory Details
page after the directory is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcSettings
public void setVpcSettings(DirectoryVpcSettings vpcSettings)
- Parameters:
vpcSettings
-
-
getVpcSettings
public DirectoryVpcSettings getVpcSettings()
- Returns:
-
withVpcSettings
public CreateMicrosoftADRequest withVpcSettings(DirectoryVpcSettings vpcSettings)
- Parameters:
vpcSettings
-- 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 CreateMicrosoftADRequest 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()
-
-