Class MicrosoftGraphKeyValue
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphKeyValue
-
public final class MicrosoftGraphKeyValue extends Object
keyValue.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphKeyValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: keyValue.String
key()
Get the key property: Key for the key-value pair.void
validate()
Validates the instance.String
value()
Get the value property: Value for the key-value pair.MicrosoftGraphKeyValue
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: keyValue.MicrosoftGraphKeyValue
withKey(String key)
Set the key property: Key for the key-value pair.MicrosoftGraphKeyValue
withValue(String value)
Set the value property: Value for the key-value pair.
-
-
-
Method Detail
-
key
public String key()
Get the key property: Key for the key-value pair.- Returns:
- the key value.
-
withKey
public MicrosoftGraphKeyValue withKey(String key)
Set the key property: Key for the key-value pair.- Parameters:
key
- the key value to set.- Returns:
- the MicrosoftGraphKeyValue object itself.
-
value
public String value()
Get the value property: Value for the key-value pair.- Returns:
- the value value.
-
withValue
public MicrosoftGraphKeyValue withValue(String value)
Set the value property: Value for the key-value pair.- Parameters:
value
- the value value to set.- Returns:
- the MicrosoftGraphKeyValue object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: keyValue.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphKeyValue withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-