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