Class ServicePrincipalsAddPasswordRequestBodyInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.ServicePrincipalsAddPasswordRequestBodyInner
The ServicePrincipalsAddPasswordRequestBody model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServicePrincipalsAddPasswordRequestBodyInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Dictionary of <AnyObject>.Get the passwordCredential property: passwordCredential.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Dictionary of <AnyObject>.withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential) Set the passwordCredential property: passwordCredential.
-
Constructor Details
-
ServicePrincipalsAddPasswordRequestBodyInner
public ServicePrincipalsAddPasswordRequestBodyInner()Creates an instance of ServicePrincipalsAddPasswordRequestBodyInner class.
-
-
Method Details
-
passwordCredential
Get the passwordCredential property: passwordCredential.- Returns:
- the passwordCredential value.
-
withPasswordCredential
public ServicePrincipalsAddPasswordRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential) Set the passwordCredential property: passwordCredential.- Parameters:
passwordCredential- the passwordCredential value to set.- Returns:
- the ServicePrincipalsAddPasswordRequestBodyInner object itself.
-
additionalProperties
Get the additionalProperties property: Dictionary of <AnyObject>.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public ServicePrincipalsAddPasswordRequestBodyInner withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Dictionary of <AnyObject>.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the ServicePrincipalsAddPasswordRequestBodyInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-