Class CreateMicrosoftAdRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.directory.model.DirectoryRequest
-
- software.amazon.awssdk.services.directory.model.CreateMicrosoftAdRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateMicrosoftAdRequest extends DirectoryRequest implements ToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>
Creates an Managed Microsoft AD directory.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateMicrosoftAdRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateMicrosoftAdRequest.Builderbuilder()Stringdescription()A description for the directory.DirectoryEditionedition()Managed Microsoft AD is available in two editions:StandardandEnterprise.StringeditionAsString()Managed Microsoft AD is available in two editions:StandardandEnterprise.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.Stringname()The fully qualified domain name for the Managed Microsoft AD directory, such ascorp.example.com.Stringpassword()The password for the default administrative user namedAdmin.List<SdkField<?>>sdkFields()static Class<? extends CreateMicrosoftAdRequest.Builder>serializableBuilderClass()StringshortName()The NetBIOS name for your domain, such asCORP.List<Tag>tags()The tags to be assigned to the Managed Microsoft AD directory.CreateMicrosoftAdRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.DirectoryVpcSettingsvpcSettings()Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public 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.- Returns:
- 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.
-
shortName
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,CORPfor the directory DNScorp.example.com.- Returns:
- 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,CORPfor the directory DNScorp.example.com.
-
password
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.
- Returns:
- 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.
-
description
public final String description()
A description for the directory. This label will appear on the Amazon Web Services console
Directory Detailspage after the directory is created.- Returns:
- A description for the directory. This label will appear on the Amazon Web Services console
Directory Detailspage after the directory is created.
-
vpcSettings
public final DirectoryVpcSettings vpcSettings()
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
- Returns:
- Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
-
edition
public final DirectoryEdition edition()
Managed Microsoft AD is available in two editions:
StandardandEnterprise.Enterpriseis the default.If the service returns an enum value that is not available in the current SDK version,
editionwill returnDirectoryEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeditionAsString().- Returns:
- Managed Microsoft AD is available in two editions:
StandardandEnterprise.Enterpriseis the default. - See Also:
DirectoryEdition
-
editionAsString
public final String editionAsString()
Managed Microsoft AD is available in two editions:
StandardandEnterprise.Enterpriseis the default.If the service returns an enum value that is not available in the current SDK version,
editionwill returnDirectoryEdition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeditionAsString().- Returns:
- Managed Microsoft AD is available in two editions:
StandardandEnterprise.Enterpriseis the default. - See Also:
DirectoryEdition
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
tags
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.- Returns:
- The tags to be assigned to the Managed Microsoft AD directory.
-
toBuilder
public CreateMicrosoftAdRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateMicrosoftAdRequest.Builder,CreateMicrosoftAdRequest>- Specified by:
toBuilderin classDirectoryRequest
-
builder
public static CreateMicrosoftAdRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateMicrosoftAdRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-