Class InstanceMetadata

    • Method Detail

      • identityStoreId

        public final String identityStoreId()

        The identifier of the identity store that is connected to the Identity Center instance.

        Returns:
        The identifier of the identity store that is connected to the Identity Center instance.
      • ownerAccountId

        public final String ownerAccountId()

        The Amazon Web Services account ID number of the owner of the Identity Center instance.

        Returns:
        The Amazon Web Services account ID number of the owner of the Identity Center instance.
      • name

        public final String name()

        The name of the Identity Center instance.

        Returns:
        The name of the Identity Center instance.
      • createdDate

        public final Instant createdDate()

        The date and time that the Identity Center instance was created.

        Returns:
        The date and time that the Identity Center instance was created.
      • status

        public final InstanceStatus status()

        The current status of this Identity Center instance.

        If the service returns an enum value that is not available in the current SDK version, status will return InstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The current status of this Identity Center instance.
        See Also:
        InstanceStatus
      • statusAsString

        public final String statusAsString()

        The current status of this Identity Center instance.

        If the service returns an enum value that is not available in the current SDK version, status will return InstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The current status of this Identity Center instance.
        See Also:
        InstanceStatus
      • statusReason

        public final String statusReason()

        Provides additional context about the current status of the IAM Identity Center instance. This field is particularly useful when an instance is in a non-ACTIVE state, such as CREATE_FAILED. When an instance creation fails, this field contains information about the cause, which may include issues with KMS key configuration or insufficient permissions.

        Returns:
        Provides additional context about the current status of the IAM Identity Center instance. This field is particularly useful when an instance is in a non-ACTIVE state, such as CREATE_FAILED. When an instance creation fails, this field contains information about the cause, which may include issues with KMS key configuration or insufficient permissions.
      • 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)