Package com.microsoft.graph.models
Class PresenceSetUserPreferredPresenceParameterSet.PresenceSetUserPreferredPresenceParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.PresenceSetUserPreferredPresenceParameterSet.PresenceSetUserPreferredPresenceParameterSetBuilder
- Enclosing class:
PresenceSetUserPreferredPresenceParameterSet
public static final class PresenceSetUserPreferredPresenceParameterSet.PresenceSetUserPreferredPresenceParameterSetBuilder
extends Object
Fluent builder for the PresenceSetUserPreferredPresenceParameterSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new PresenceSetUserPreferredPresenceParameterSetBuilder -
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 ExpirationDuration
-
Field Details
-
availability
The availability parameter value -
activity
The activity parameter value -
expirationDuration
The expirationDuration parameter value
-
-
Constructor Details
-
PresenceSetUserPreferredPresenceParameterSetBuilder
@Nullable protected PresenceSetUserPreferredPresenceParameterSetBuilder()Instanciates a new PresenceSetUserPreferredPresenceParameterSetBuilder
-
-
Method Details
-
withAvailability
@Nonnull public PresenceSetUserPreferredPresenceParameterSet.PresenceSetUserPreferredPresenceParameterSetBuilder withAvailability(@Nullable String val) Sets the Availability- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withActivity
@Nonnull public PresenceSetUserPreferredPresenceParameterSet.PresenceSetUserPreferredPresenceParameterSetBuilder withActivity(@Nullable String val) Sets the Activity- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withExpirationDuration
@Nonnull public PresenceSetUserPreferredPresenceParameterSet.PresenceSetUserPreferredPresenceParameterSetBuilder 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
-