Package com.microsoft.graph.models
Class ServicePrincipalAddKeyParameterSet.ServicePrincipalAddKeyParameterSetBuilder
java.lang.Object
com.microsoft.graph.models.ServicePrincipalAddKeyParameterSet.ServicePrincipalAddKeyParameterSetBuilder
- Enclosing class:
ServicePrincipalAddKeyParameterSet
public static final class ServicePrincipalAddKeyParameterSet.ServicePrincipalAddKeyParameterSetBuilder
extends Object
Fluent builder for the ServicePrincipalAddKeyParameterSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected KeyCredentialThe keyCredential parameter valueprotected PasswordCredentialThe passwordCredential parameter valueprotected StringThe proof parameter value -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanciates a new ServicePrincipalAddKeyParameterSetBuilder -
Method Summary
Modifier and TypeMethodDescriptionbuild()Buils the resulting body object to be passed to the requestSets the KeyCredentialSets the PasswordCredentialSets the Proof
-
Field Details
-
keyCredential
The keyCredential parameter value -
passwordCredential
The passwordCredential parameter value -
proof
The proof parameter value
-
-
Constructor Details
-
ServicePrincipalAddKeyParameterSetBuilder
@Nullable protected ServicePrincipalAddKeyParameterSetBuilder()Instanciates a new ServicePrincipalAddKeyParameterSetBuilder
-
-
Method Details
-
withKeyCredential
@Nonnull public ServicePrincipalAddKeyParameterSet.ServicePrincipalAddKeyParameterSetBuilder withKeyCredential(@Nullable KeyCredential val) Sets the KeyCredential- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withPasswordCredential
@Nonnull public ServicePrincipalAddKeyParameterSet.ServicePrincipalAddKeyParameterSetBuilder withPasswordCredential(@Nullable PasswordCredential val) Sets the PasswordCredential- Parameters:
val- the value to set it to- Returns:
- the current builder object
-
withProof
@Nonnull public ServicePrincipalAddKeyParameterSet.ServicePrincipalAddKeyParameterSetBuilder withProof(@Nullable String val) Sets the Proof- 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
-