StructuredPojo
, ToCopyableBuilder<Directory.Builder,Directory>
@Generated("software.amazon.awssdk:codegen") public class Directory extends Object implements StructuredPojo, ToCopyableBuilder<Directory.Builder,Directory>
Directory structure that includes the directory name and directory ARN.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Directory.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Directory.Builder |
builder() |
|
Date |
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) |
|
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() |
|
String |
state() |
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() |
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 String state()
The state of the directory. Can be either Enabled
, Disabled
, or Deleted
.
Enabled
, Disabled
, or
Deleted
.DirectoryState
public Date 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.