Class RegionDescription

    • 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, regionType will return RegionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from regionTypeAsString().

        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, regionType will return RegionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from regionTypeAsString().

        Returns:
        Specifies whether the Region is the primary Region or an additional Region.
        See Also:
        RegionType
      • 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, status will return DirectoryStage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)