Class MicrosoftGraphKeyValue

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

public final class MicrosoftGraphKeyValue extends Object
keyValue.
  • Constructor Details

    • MicrosoftGraphKeyValue

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

    • 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.