Class MicrosoftGraphPublicErrorDetail

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

public final class MicrosoftGraphPublicErrorDetail extends Object
publicErrorDetail.
  • Constructor Details

    • MicrosoftGraphPublicErrorDetail

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

    • code

      public String code()
      Get the code property: The code property.
      Returns:
      the code value.
    • withCode

      public MicrosoftGraphPublicErrorDetail withCode(String code)
      Set the code property: The code property.
      Parameters:
      code - the code value to set.
      Returns:
      the MicrosoftGraphPublicErrorDetail object itself.
    • message

      public String message()
      Get the message property: The message property.
      Returns:
      the message value.
    • withMessage

      public MicrosoftGraphPublicErrorDetail withMessage(String message)
      Set the message property: The message property.
      Parameters:
      message - the message value to set.
      Returns:
      the MicrosoftGraphPublicErrorDetail object itself.
    • target

      public String target()
      Get the target property: The target property.
      Returns:
      the target value.
    • withTarget

      public MicrosoftGraphPublicErrorDetail withTarget(String target)
      Set the target property: The target property.
      Parameters:
      target - the target value to set.
      Returns:
      the MicrosoftGraphPublicErrorDetail object itself.
    • additionalProperties

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

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

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