@Generated(value="software.amazon.awssdk:codegen") public final class CreateMicrosoftAdRequest extends DirectoryRequest implements ToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>
Creates an AWS Managed Microsoft AD directory.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateMicrosoftAdRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateMicrosoftAdRequest.Builder |
builder() |
String |
description()
A textual description for the directory.
|
DirectoryEdition |
edition()
AWS Managed Microsoft AD is available in two editions: Standard and Enterprise.
|
String |
editionAsString()
AWS Managed Microsoft AD is available in two editions: Standard and Enterprise.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The fully qualified domain name for the directory, such as
corp.example.com . |
String |
password()
The password for the default administrative user named
Admin . |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateMicrosoftAdRequest.Builder> |
serializableBuilderClass() |
String |
shortName()
The NetBIOS name for your domain.
|
CreateMicrosoftAdRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
DirectoryVpcSettings |
vpcSettings()
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
|
overrideConfiguration
copy
public 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.
corp.example.com
. This name will
resolve inside your VPC only. It does not need to be publicly resolvable.public 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 DNS corp.example.com
.
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 DNS corp.example.com
.public String password()
The password for the default administrative user named Admin
.
Admin
.public String description()
A textual description for the directory. This label will appear on the AWS console Directory Details
page after the directory is created.
Directory Details
page after the directory is created.public DirectoryVpcSettings vpcSettings()
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
public DirectoryEdition edition()
AWS Managed Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.
If the service returns an enum value that is not available in the current SDK version, edition
will
return DirectoryEdition.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
editionAsString()
.
DirectoryEdition
public String editionAsString()
AWS Managed Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.
If the service returns an enum value that is not available in the current SDK version, edition
will
return DirectoryEdition.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
editionAsString()
.
DirectoryEdition
public CreateMicrosoftAdRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>
toBuilder
in class DirectoryRequest
public static CreateMicrosoftAdRequest.Builder builder()
public static Class<? extends CreateMicrosoftAdRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.