@Generated(value="software.amazon.awssdk:codegen") public final class CreateMicrosoftAdRequest extends DirectoryRequest implements ToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>
Creates an 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 description for the directory.
|
DirectoryEdition |
edition()
Managed Microsoft AD is available in two editions:
Standard and Enterprise. |
String |
editionAsString()
Managed Microsoft AD is available in two editions:
Standard and Enterprise. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
name()
The fully qualified domain name for the Managed Microsoft AD 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, such as
CORP. |
List<Tag> |
tags()
The tags to be assigned to the Managed Microsoft AD directory.
|
CreateMicrosoftAdRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DirectoryVpcSettings |
vpcSettings()
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The fully qualified domain name for the Managed Microsoft AD 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 final String shortName()
The NetBIOS name 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 final String password()
The password for the default administrative user named Admin.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
Admin.
If you need to change the password for the administrator account, you can use the ResetUserPassword API call.
public final String description()
A description for the directory. This label will appear on the Amazon Web Services console
Directory Details page after the directory is created.
Directory Details page after the directory is created.public final DirectoryVpcSettings vpcSettings()
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
public final DirectoryEdition edition()
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().
Standard and Enterprise.
Enterprise is the default.DirectoryEditionpublic final String editionAsString()
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().
Standard and Enterprise.
Enterprise is the default.DirectoryEditionpublic final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
The tags to be assigned to the Managed Microsoft AD directory.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public CreateMicrosoftAdRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>toBuilder in class DirectoryRequestpublic static CreateMicrosoftAdRequest.Builder builder()
public static Class<? extends CreateMicrosoftAdRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.