Class Directory
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.Directory
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Directory.Builder,Directory>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDirectory.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Directory.Builderbuilder()InstantcreationDateTime()The date and time when the directory was created.StringdirectoryArn()The Amazon Resource Name (ARN) that is associated with the directory.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the directory.List<SdkField<?>>sdkFields()static Class<? extends Directory.Builder>serializableBuilderClass()DirectoryStatestate()The state of the directory.StringstateAsString()The state of the directory.Directory.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the directory.
- Returns:
- The name of the directory.
-
directoryArn
public final String directoryArn()
The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
- Returns:
- The Amazon Resource Name (ARN) that is associated with the directory. For more information, see arns.
-
state
public final DirectoryState state()
The state of the directory. Can be either
Enabled,Disabled, orDeleted.If the service returns an enum value that is not available in the current SDK version,
statewill returnDirectoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the directory. Can be either
Enabled,Disabled, orDeleted. - See Also:
DirectoryState
-
stateAsString
public final String stateAsString()
The state of the directory. Can be either
Enabled,Disabled, orDeleted.If the service returns an enum value that is not available in the current SDK version,
statewill returnDirectoryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the directory. Can be either
Enabled,Disabled, orDeleted. - See Also:
DirectoryState
-
creationDateTime
public final Instant creationDateTime()
The date and time when the directory was created.
- Returns:
- The date and time when the directory was created.
-
toBuilder
public Directory.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Directory.Builder,Directory>
-
builder
public static Directory.Builder builder()
-
serializableBuilderClass
public static Class<? extends Directory.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-