@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Directory extends Object implements Serializable, Cloneable, StructuredPojo
Directory structure that includes the directory name and directory ARN.
Constructor and Description |
---|
Directory() |
Modifier and Type | Method and Description |
---|---|
Directory |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time when the directory was created.
|
String |
getDirectoryArn()
The Amazon Resource Name (ARN) that is associated with the directory.
|
String |
getName()
The name of the directory.
|
String |
getState()
The state of the directory.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The date and time when the directory was created.
|
void |
setDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the directory.
|
void |
setName(String name)
The name of the directory.
|
void |
setState(DirectoryState state)
The state of the directory.
|
void |
setState(String state)
The state of the directory.
|
String |
toString()
Returns a string representation of this object.
|
Directory |
withCreationDateTime(Date creationDateTime)
The date and time when the directory was created.
|
Directory |
withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the directory.
|
Directory |
withName(String name)
The name of the directory.
|
Directory |
withState(DirectoryState state)
The state of the directory.
|
Directory |
withState(String state)
The state of the directory.
|
public void setName(String name)
The name of the directory.
name
- The name of the directory.public String getName()
The name of the directory.
public Directory withName(String name)
The name of the directory.
name
- The name of the directory.public void setDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
directoryArn
- The Amazon Resource Name (ARN) that is associated with the directory. For more information, see
arns.public String getDirectoryArn()
The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
public Directory withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
directoryArn
- The Amazon Resource Name (ARN) that is associated with the directory. For more information, see
arns.public void setState(String state)
The state of the directory. Can be either Enabled
, Disabled
, or Deleted
.
state
- The state of the directory. Can be either Enabled
, Disabled
, or
Deleted
.DirectoryState
public String getState()
The state of the directory. Can be either Enabled
, Disabled
, or Deleted
.
Enabled
, Disabled
, or
Deleted
.DirectoryState
public Directory withState(String state)
The state of the directory. Can be either Enabled
, Disabled
, or Deleted
.
state
- The state of the directory. Can be either Enabled
, Disabled
, or
Deleted
.DirectoryState
public void setState(DirectoryState state)
The state of the directory. Can be either Enabled
, Disabled
, or Deleted
.
state
- The state of the directory. Can be either Enabled
, Disabled
, or
Deleted
.DirectoryState
public Directory withState(DirectoryState state)
The state of the directory. Can be either Enabled
, Disabled
, or Deleted
.
state
- The state of the directory. Can be either Enabled
, Disabled
, or
Deleted
.DirectoryState
public void setCreationDateTime(Date creationDateTime)
The date and time when the directory was created.
creationDateTime
- The date and time when the directory was created.public Date getCreationDateTime()
The date and time when the directory was created.
public Directory withCreationDateTime(Date creationDateTime)
The date and time when the directory was created.
creationDateTime
- The date and time when the directory was created.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.