Class RegionDescription
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.RegionDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RegionDescription.Builder,RegionDescription>
@Generated("software.amazon.awssdk:codegen") public final class RegionDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RegionDescription.Builder,RegionDescription>
The replicated Region information for a directory.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegionDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegionDescription.Builderbuilder()IntegerdesiredNumberOfDomainControllers()The desired number of domain controllers in the specified Region for the specified directory.StringdirectoryId()The identifier of the directory.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time that the Region description was last updated.InstantlaunchTime()Specifies when the Region replication began.StringregionName()The name of the Region.RegionTyperegionType()Specifies whether the Region is the primary Region or an additional Region.StringregionTypeAsString()Specifies whether the Region is the primary Region or an additional Region.List<SdkField<?>>sdkFields()static Class<? extends RegionDescription.Builder>serializableBuilderClass()DirectoryStagestatus()The status of the replication process for the specified Region.StringstatusAsString()The status of the replication process for the specified Region.InstantstatusLastUpdatedDateTime()The date and time that the Region status was last updated.RegionDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.DirectoryVpcSettingsvpcSettings()Returns the value of the VpcSettings property for 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
-
directoryId
public final String directoryId()
The identifier of the directory.
- Returns:
- The identifier of the directory.
-
regionName
public final String regionName()
The name of the Region. For example,
us-east-1.- Returns:
- The name of the Region. For example,
us-east-1.
-
regionType
public final RegionType regionType()
Specifies whether the Region is the primary Region or an additional Region.
If the service returns an enum value that is not available in the current SDK version,
regionTypewill returnRegionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionTypeAsString().- Returns:
- Specifies whether the Region is the primary Region or an additional Region.
- See Also:
RegionType
-
regionTypeAsString
public final String regionTypeAsString()
Specifies whether the Region is the primary Region or an additional Region.
If the service returns an enum value that is not available in the current SDK version,
regionTypewill returnRegionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionTypeAsString().- Returns:
- Specifies whether the Region is the primary Region or an additional Region.
- See Also:
RegionType
-
status
public final DirectoryStage status()
The status of the replication process for the specified Region.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the replication process for the specified Region.
- See Also:
DirectoryStage
-
statusAsString
public final String statusAsString()
The status of the replication process for the specified Region.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the replication process for the specified Region.
- See Also:
DirectoryStage
-
vpcSettings
public final DirectoryVpcSettings vpcSettings()
Returns the value of the VpcSettings property for this object.- Returns:
- The value of the VpcSettings property for this object.
-
desiredNumberOfDomainControllers
public final Integer desiredNumberOfDomainControllers()
The desired number of domain controllers in the specified Region for the specified directory.
- Returns:
- The desired number of domain controllers in the specified Region for the specified directory.
-
launchTime
public final Instant launchTime()
Specifies when the Region replication began.
- Returns:
- Specifies when the Region replication began.
-
statusLastUpdatedDateTime
public final Instant statusLastUpdatedDateTime()
The date and time that the Region status was last updated.
- Returns:
- The date and time that the Region status was last updated.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time that the Region description was last updated.
- Returns:
- The date and time that the Region description was last updated.
-
toBuilder
public RegionDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegionDescription.Builder,RegionDescription>
-
builder
public static RegionDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends RegionDescription.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.
-
-