Class MicrosoftGraphKeyValue
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphKeyValue
keyValue.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphKeyValue class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: keyValue.key()Get the key property: Key for the key-value pair.voidvalidate()Validates the instance.value()Get the value property: Value for the key-value pair.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: keyValue.Set the key property: Key for the key-value pair.Set the value property: Value for the key-value pair.
-
Constructor Details
-
MicrosoftGraphKeyValue
public MicrosoftGraphKeyValue()Creates an instance of MicrosoftGraphKeyValue class.
-
-
Method Details
-
key
Get the key property: Key for the key-value pair.- Returns:
- the key value.
-
withKey
Set the key property: Key for the key-value pair.- Parameters:
key- the key value to set.- Returns:
- the MicrosoftGraphKeyValue object itself.
-
value
Get the value property: Value for the key-value pair.- Returns:
- the value value.
-
withValue
Set the value property: Value for the key-value pair.- Parameters:
value- the value value to set.- Returns:
- the MicrosoftGraphKeyValue object itself.
-
additionalProperties
Get the additionalProperties property: keyValue.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: keyValue.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphKeyValue object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-