@Generated(value="software.amazon.awssdk:codegen") public final class Directory extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Directory.Builder,Directory>
Directory structure that includes the directory name and directory ARN.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Directory.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Directory.Builder |
builder() |
Instant |
creationDateTime()
The date and time when the directory was created.
|
String |
directoryArn()
The Amazon Resource Name (ARN) that is associated with the directory.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the directory.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Directory.Builder> |
serializableBuilderClass() |
DirectoryState |
state()
The state of the directory.
|
String |
stateAsString()
The state of the directory.
|
Directory.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the directory.
public final String directoryArn()
The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
public final DirectoryState state()
The state of the directory. Can be either Enabled, Disabled, or Deleted.
If the service returns an enum value that is not available in the current SDK version, state will return
DirectoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Enabled, Disabled, or
Deleted.DirectoryStatepublic final String stateAsString()
The state of the directory. Can be either Enabled, Disabled, or Deleted.
If the service returns an enum value that is not available in the current SDK version, state will return
DirectoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
Enabled, Disabled, or
Deleted.DirectoryStatepublic final Instant creationDateTime()
The date and time when the directory was created.
public Directory.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Directory.Builder,Directory>public static Directory.Builder builder()
public static Class<? extends Directory.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.