Class MemberChangeStatusDetails.Builder

    • Field Detail

      • newTeam

        protected java.lang.String newTeam
      • previousTeam

        protected java.lang.String previousTeam
    • Constructor Detail

    • Method Detail

      • withPreviousValue

        public MemberChangeStatusDetails.Builder withPreviousValue​(MemberStatus previousValue)
        Set value for optional field.
        Parameters:
        previousValue - Previous member status. Might be missing due to historical data gap.
        Returns:
        this builder
      • withAction

        public MemberChangeStatusDetails.Builder withAction​(ActionDetails action)
        Set value for optional field.
        Parameters:
        action - Additional information indicating the action taken that caused status change.
        Returns:
        this builder
      • withNewTeam

        public MemberChangeStatusDetails.Builder withNewTeam​(java.lang.String newTeam)
        Set value for optional field.
        Parameters:
        newTeam - The user's new team name. This field is relevant when the user is transferred off the team.
        Returns:
        this builder
      • withPreviousTeam

        public MemberChangeStatusDetails.Builder withPreviousTeam​(java.lang.String previousTeam)
        Set value for optional field.
        Parameters:
        previousTeam - The user's previous team name. This field is relevant when the user is transferred onto the team.
        Returns:
        this builder