Package com.microsoft.graph.models
Class MessageCreateForwardParameterSet.MessageCreateForwardParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.MessageCreateForwardParameterSet.MessageCreateForwardParameterSetBuilder
- Enclosing class:
MessageCreateForwardParameterSet
public static final class MessageCreateForwardParameterSet.MessageCreateForwardParameterSetBuilder
extends Object
Fluent builder for the MessageCreateForwardParameterSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new MessageCreateForwardParameterSetBuilder -
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
-
MessageCreateForwardParameterSetBuilder
@Nullable protected MessageCreateForwardParameterSetBuilder()Instanciates a new MessageCreateForwardParameterSetBuilder
-
-
Method Details
-
withToRecipients
@Nonnull public MessageCreateForwardParameterSet.MessageCreateForwardParameterSetBuilder withToRecipients(@Nullable List<Recipient> val) Sets the ToRecipients- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withMessage
@Nonnull public MessageCreateForwardParameterSet.MessageCreateForwardParameterSetBuilder withMessage(@Nullable Message val) Sets the Message- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withComment
@Nonnull public MessageCreateForwardParameterSet.MessageCreateForwardParameterSetBuilder 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
-