@Generated(value="software.amazon.awssdk:codegen") public final class CreateDirectoryRequest extends DirectoryRequest implements ToCopyableBuilder<CreateDirectoryRequest.Builder,CreateDirectoryRequest>
Contains the inputs for the CreateDirectory operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDirectoryRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDirectoryRequest.Builder |
builder() |
String |
description()
A textual description for the directory.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The fully qualified name for the directory, such as
corp.example.com. |
String |
password()
The password for the directory administrator.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDirectoryRequest.Builder> |
serializableBuilderClass() |
String |
shortName()
The short name of the directory, such as
CORP. |
DirectorySize |
size()
The size of the directory.
|
String |
sizeAsString()
The size of the directory.
|
List<Tag> |
tags()
The tags to be assigned to the Simple AD directory.
|
CreateDirectoryRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DirectoryVpcSettings |
vpcSettings()
A DirectoryVpcSettings object that contains additional information for the operation.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The fully qualified name for the directory, such as corp.example.com.
corp.example.com.public String shortName()
The short name of the directory, such as CORP.
CORP.public String password()
The password for the directory administrator. The directory creation process creates a directory administrator
account with the user name Administrator and this password.
Administrator and this password.public String description()
A textual description for the directory.
public DirectorySize size()
The size of the directory.
If the service returns an enum value that is not available in the current SDK version, size will return
DirectorySize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sizeAsString().
DirectorySizepublic String sizeAsString()
The size of the directory.
If the service returns an enum value that is not available in the current SDK version, size will return
DirectorySize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sizeAsString().
DirectorySizepublic DirectoryVpcSettings vpcSettings()
A DirectoryVpcSettings object that contains additional information for the operation.
public List<Tag> tags()
The tags to be assigned to the Simple AD directory.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateDirectoryRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDirectoryRequest.Builder,CreateDirectoryRequest>toBuilder in class DirectoryRequestpublic static CreateDirectoryRequest.Builder builder()
public static Class<? extends CreateDirectoryRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.