Class ServicePrincipalsAddPasswordRequestBodyInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.ServicePrincipalsAddPasswordRequestBodyInner
-
public final class ServicePrincipalsAddPasswordRequestBodyInner extends Object
The ServicePrincipalsAddPasswordRequestBody model.
-
-
Constructor Summary
Constructors Constructor Description ServicePrincipalsAddPasswordRequestBodyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Dictionary of <any>.MicrosoftGraphPasswordCredentialInner
passwordCredential()
Get the passwordCredential property: passwordCredential.void
validate()
Validates the instance.ServicePrincipalsAddPasswordRequestBodyInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <any>.ServicePrincipalsAddPasswordRequestBodyInner
withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)
Set the passwordCredential property: passwordCredential.
-
-
-
Method Detail
-
passwordCredential
public MicrosoftGraphPasswordCredentialInner 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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Dictionary of <any>.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public ServicePrincipalsAddPasswordRequestBodyInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <any>.- 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.
-
-