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 CreateMicrosoftADRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetDescription()A textual description for the directory.StringgetName()The fully qualified domain name for the directory, such ascorp.example.com.StringgetPassword()The password for the default administrative user namedAdmin.StringgetShortName()The NetBIOS name for your domain.DirectoryVpcSettingsgetVpcSettings()inthashCode()voidsetDescription(String description)A textual description for the directory.voidsetName(String name)The fully qualified domain name for the directory, such ascorp.example.com.voidsetPassword(String password)The password for the default administrative user namedAdmin.voidsetShortName(String shortName)The NetBIOS name for your domain.voidsetVpcSettings(DirectoryVpcSettings vpcSettings)StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateMicrosoftADRequestwithDescription(String description)A textual description for the directory.CreateMicrosoftADRequestwithName(String name)The fully qualified domain name for the directory, such ascorp.example.com.CreateMicrosoftADRequestwithPassword(String password)The password for the default administrative user namedAdmin.CreateMicrosoftADRequestwithShortName(String shortName)The NetBIOS name for your domain.CreateMicrosoftADRequestwithVpcSettings(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,CORPfor 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,CORPfor 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,CORPfor 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,CORPfor 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,CORPfor 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,CORPfor 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 Detailspage after the directory is created.- Parameters:
description- A textual description for the directory. This label will appear on the AWS consoleDirectory Detailspage after the directory is created.
-
getDescription
public String getDescription()
A textual description for the directory. This label will appear on the AWS console
Directory Detailspage after the directory is created.- Returns:
- A textual description for the directory. This label will appear
on the AWS console
Directory Detailspage 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 Detailspage after the directory is created.- Parameters:
description- A textual description for the directory. This label will appear on the AWS consoleDirectory Detailspage 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateMicrosoftADRequest 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()
-
-