Package com.microsoft.graph.models
Class MessageForwardParameterSet.MessageForwardParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.MessageForwardParameterSet.MessageForwardParameterSetBuilder
- Enclosing class:
MessageForwardParameterSet
public static final class MessageForwardParameterSet.MessageForwardParameterSetBuilder
extends Object
Fluent builder for the MessageForwardParameterSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instanciates a new MessageForwardParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Buils the resulting body object to be passed to the requestwithComment
(String val) Sets the CommentwithMessage
(Message val) Sets the MessagewithToRecipients
(List<Recipient> val) Sets the ToRecipients
-
Field Details
-
toRecipients
The toRecipients parameter value -
message
The message parameter value -
comment
The comment parameter value
-
-
Constructor Details
-
MessageForwardParameterSetBuilder
@Nullable protected MessageForwardParameterSetBuilder()Instanciates a new MessageForwardParameterSetBuilder
-
-
Method Details
-
withToRecipients
@Nonnull public MessageForwardParameterSet.MessageForwardParameterSetBuilder withToRecipients(@Nullable List<Recipient> val) Sets the ToRecipients- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withMessage
@Nonnull public MessageForwardParameterSet.MessageForwardParameterSetBuilder withMessage(@Nullable Message val) Sets the Message- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
withComment
@Nonnull public MessageForwardParameterSet.MessageForwardParameterSetBuilder withComment(@Nullable String val) Sets the Comment- Parameters:
val
- the value to set it to- Returns:
- the current builder object
-
build
Buils the resulting body object to be passed to the request- Returns:
- the body object to pass to the request
-