ServicePrincipalsAddKeyRequestBodyInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. ServicePrincipalsAddKeyRequestBodyInner
- com.
Implements
public final class ServicePrincipalsAddKeyRequestBodyInner
implements JsonSerializable<ServicePrincipalsAddKeyRequestBodyInner>
The ServicePrincipalsAddKeyRequestBody model.
Constructor Summary
| Constructor | Description |
|---|---|
| ServicePrincipalsAddKeyRequestBodyInner() |
Creates an instance of Service |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ServicePrincipalsAddKeyRequestBodyInner
public ServicePrincipalsAddKeyRequestBodyInner()
Creates an instance of ServicePrincipalsAddKeyRequestBodyInner class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Dictionary of <AnyObject>.
Returns:
fromJson
public static ServicePrincipalsAddKeyRequestBodyInner fromJson(JsonReader jsonReader)
Reads an instance of ServicePrincipalsAddKeyRequestBodyInner from the JsonReader.
Parameters:
Returns:
Throws:
keyCredential
public MicrosoftGraphKeyCredentialInner keyCredential()
Get the keyCredential property: keyCredential.
Returns:
passwordCredential
public MicrosoftGraphPasswordCredentialInner passwordCredential()
Get the passwordCredential property: passwordCredential.
Returns:
proof
public String proof()
Get the proof property: The proof property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public ServicePrincipalsAddKeyRequestBodyInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <AnyObject>.
Parameters:
Returns:
withKeyCredential
public ServicePrincipalsAddKeyRequestBodyInner withKeyCredential(MicrosoftGraphKeyCredentialInner keyCredential)
Set the keyCredential property: keyCredential.
Parameters:
Returns:
withPasswordCredential
public ServicePrincipalsAddKeyRequestBodyInner withPasswordCredential(MicrosoftGraphPasswordCredentialInner passwordCredential)
Set the passwordCredential property: passwordCredential.
Parameters:
Returns:
withProof
public ServicePrincipalsAddKeyRequestBodyInner withProof(String proof)
Set the proof property: The proof property.
Parameters:
Returns: