Class NewsfeedFields.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Default constructor
    • Method Detail

      • setMessage

        public NewsfeedFields.Builder setMessage​(@Nullable
                                                 java.lang.String message)
        Set the content of the comment
        Parameters:
        message - content of the comment
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setFlag

        public NewsfeedFields.Builder setFlag​(@Nullable
                                              java.lang.String flag)
        Set the selected flag from list of Flag
        Parameters:
        flag - selected flag from list of Flag
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • setBody

        public NewsfeedFields.Builder setBody​(@Nullable
                                              java.lang.String body)
        Set the body of the created post
        Parameters:
        body - body of the created post
        Returns:
        The Builder object to allow for chaining calls to set/add methods
      • createQueryParams

        protected NewsfeedFields createQueryParams()
        Instantiates the implementation class
        Returns:
        implementation class of BaseParams.BaseBuilder
      • build

        public NewsfeedFields build()
        Returns:
        the built parameter class