Class DescribeGroupResponse

    • Method Detail

      • groupId

        public final String groupId()

        The identifier of the described group.

        Returns:
        The identifier of the described group.
      • name

        public final String name()

        The name of the described group.

        Returns:
        The name of the described group.
      • email

        public final String email()

        The email of the described group.

        Returns:
        The email of the described group.
      • state

        public final EntityState state()

        The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).

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

        Returns:
        The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
        See Also:
        EntityState
      • stateAsString

        public final String stateAsString()

        The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).

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

        Returns:
        The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
        See Also:
        EntityState
      • enabledDate

        public final Instant enabledDate()

        The date and time when a user was registered to WorkMail, in UNIX epoch time format.

        Returns:
        The date and time when a user was registered to WorkMail, in UNIX epoch time format.
      • disabledDate

        public final Instant disabledDate()

        The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.

        Returns:
        The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.
      • hiddenFromGlobalAddressList

        public final Boolean hiddenFromGlobalAddressList()

        If the value is set to true, the group is hidden from the address book.

        Returns:
        If the value is set to true, the group is hidden from the address book.
      • 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