Class ServicePrincipalsAddKeyRequestBodyInner

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.ServicePrincipalsAddKeyRequestBodyInner

public final class ServicePrincipalsAddKeyRequestBodyInner extends Object
The ServicePrincipalsAddKeyRequestBody model.
  • Constructor Details

    • ServicePrincipalsAddKeyRequestBodyInner

      public ServicePrincipalsAddKeyRequestBodyInner()
      Creates an instance of ServicePrincipalsAddKeyRequestBodyInner class.
  • Method Details

    • keyCredential

      public MicrosoftGraphKeyCredentialInner keyCredential()
      Get the keyCredential property: keyCredential.
      Returns:
      the keyCredential value.
    • withKeyCredential

      Set the keyCredential property: keyCredential.
      Parameters:
      keyCredential - the keyCredential value to set.
      Returns:
      the ServicePrincipalsAddKeyRequestBodyInner object itself.
    • passwordCredential

      public MicrosoftGraphPasswordCredentialInner passwordCredential()
      Get the passwordCredential property: passwordCredential.
      Returns:
      the passwordCredential value.
    • withPasswordCredential

      public ServicePrincipalsAddKeyRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)
      Set the passwordCredential property: passwordCredential.
      Parameters:
      passwordCredential - the passwordCredential value to set.
      Returns:
      the ServicePrincipalsAddKeyRequestBodyInner object itself.
    • proof

      public String 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 ServicePrincipalsAddKeyRequestBodyInner object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Dictionary of <AnyObject>.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public ServicePrincipalsAddKeyRequestBodyInner withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: Dictionary of <AnyObject>.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the ServicePrincipalsAddKeyRequestBodyInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.