Package com.microsoft.graph.models
Class PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder
- Enclosing class:
PresenceSetPresenceParameterSet
public static final class PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder
extends Object
Fluent builder for the PresenceSetPresenceParameterSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new PresenceSetPresenceParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestwithActivity(String val) Sets the ActivitywithAvailability(String val) Sets the AvailabilitySets the ExpirationDurationwithSessionId(String val) Sets the SessionId
-
Field Details
-
sessionId
The sessionId parameter value -
availability
The availability parameter value -
activity
The activity parameter value -
expirationDuration
The expirationDuration parameter value
-
-
Constructor Details
-
PresenceSetPresenceParameterSetBuilder
@Nullable protected PresenceSetPresenceParameterSetBuilder()Instanciates a new PresenceSetPresenceParameterSetBuilder
-
-
Method Details
-
withSessionId
@Nonnull public PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder withSessionId(@Nullable String val) Sets the SessionId- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withAvailability
@Nonnull public PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder withAvailability(@Nullable String val) Sets the Availability- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withActivity
@Nonnull public PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder withActivity(@Nullable String val) Sets the Activity- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withExpirationDuration
@Nonnull public PresenceSetPresenceParameterSet.PresenceSetPresenceParameterSetBuilder withExpirationDuration(@Nullable Duration val) Sets the ExpirationDuration- 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
-