Interface Group.Builder

    • Method Detail

      • id

        Group.Builder id​(String id)

        The identifier of the group.

        Parameters:
        id - The identifier of the group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • email

        Group.Builder email​(String email)

        The email of the group.

        Parameters:
        email - The email of the group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Group.Builder name​(String name)

        The name of the group.

        Parameters:
        name - The name of the group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Group.Builder state​(String state)

        The state of the group, which can be ENABLED, DISABLED, or DELETED.

        Parameters:
        state - The state of the group, which can be ENABLED, DISABLED, or DELETED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EntityState, EntityState
      • state

        Group.Builder state​(EntityState state)

        The state of the group, which can be ENABLED, DISABLED, or DELETED.

        Parameters:
        state - The state of the group, which can be ENABLED, DISABLED, or DELETED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EntityState, EntityState
      • enabledDate

        Group.Builder enabledDate​(Instant enabledDate)

        The date indicating when the group was enabled for WorkMail use.

        Parameters:
        enabledDate - The date indicating when the group was enabled for WorkMail use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disabledDate

        Group.Builder disabledDate​(Instant disabledDate)

        The date indicating when the group was disabled from WorkMail use.

        Parameters:
        disabledDate - The date indicating when the group was disabled from WorkMail use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.