Package com.microsoft.graph.models
Class UserChangePasswordParameterSet.UserChangePasswordParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.UserChangePasswordParameterSet.UserChangePasswordParameterSetBuilder
- Enclosing class:
UserChangePasswordParameterSet
public static final class UserChangePasswordParameterSet.UserChangePasswordParameterSetBuilder
extends Object
Fluent builder for the UserChangePasswordParameterSet
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new UserChangePasswordParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestSets the CurrentPasswordwithNewPassword(String val) Sets the NewPassword
-
Field Details
-
currentPassword
The currentPassword parameter value -
newPassword
The newPassword parameter value
-
-
Constructor Details
-
UserChangePasswordParameterSetBuilder
@Nullable protected UserChangePasswordParameterSetBuilder()Instanciates a new UserChangePasswordParameterSetBuilder
-
-
Method Details
-
withCurrentPassword
@Nonnull public UserChangePasswordParameterSet.UserChangePasswordParameterSetBuilder withCurrentPassword(@Nullable String val) Sets the CurrentPassword- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withNewPassword
@Nonnull public UserChangePasswordParameterSet.UserChangePasswordParameterSetBuilder withNewPassword(@Nullable String val) Sets the NewPassword- 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
-