@Generated(value="software.amazon.awssdk:codegen") public final class Directory extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the directory.
|
static Class<? extends Directory.Builder> |
serializableBuilderClass() |
DirectoryState |
state()
The state of the directory.
|
String |
stateAsString()
The state of the directory.
|
Directory.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the directory.
public String directoryArn()
The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
public 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
.DirectoryState
public 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
.DirectoryState
public Instant creationDateTime()
The date and time when the directory was created.
public Directory.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Directory.Builder,Directory>
public static Directory.Builder builder()
public static Class<? extends Directory.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.