Interface Group.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Group.Builder,Group>, SdkBuilder<Group.Builder,Group>, SdkPojo
Enclosing class:
Group

@Mutable @NotThreadSafe public static interface Group.Builder extends SdkPojo, CopyableBuilder<Group.Builder,Group>
  • Method Details

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