Class MicrosoftGraphOnPremisesProvisioningError

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

public final class MicrosoftGraphOnPremisesProvisioningError extends Object
onPremisesProvisioningError.
  • Constructor Details

    • MicrosoftGraphOnPremisesProvisioningError

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

    • category

      public String category()
      Get the category property: Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.
      Returns:
      the category value.
    • withCategory

      public MicrosoftGraphOnPremisesProvisioningError withCategory(String category)
      Set the category property: Category of the provisioning error. Note: Currently, there is only one possible value. Possible value: PropertyConflict - indicates a property value is not unique. Other objects contain the same value for the property.
      Parameters:
      category - the category value to set.
      Returns:
      the MicrosoftGraphOnPremisesProvisioningError object itself.
    • occurredDateTime

      public OffsetDateTime occurredDateTime()
      Get the occurredDateTime property: The date and time at which the error occurred.
      Returns:
      the occurredDateTime value.
    • withOccurredDateTime

      public MicrosoftGraphOnPremisesProvisioningError withOccurredDateTime(OffsetDateTime occurredDateTime)
      Set the occurredDateTime property: The date and time at which the error occurred.
      Parameters:
      occurredDateTime - the occurredDateTime value to set.
      Returns:
      the MicrosoftGraphOnPremisesProvisioningError object itself.
    • propertyCausingError

      public String propertyCausingError()
      Get the propertyCausingError property: Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress.
      Returns:
      the propertyCausingError value.
    • withPropertyCausingError

      public MicrosoftGraphOnPremisesProvisioningError withPropertyCausingError(String propertyCausingError)
      Set the propertyCausingError property: Name of the directory property causing the error. Current possible values: UserPrincipalName or ProxyAddress.
      Parameters:
      propertyCausingError - the propertyCausingError value to set.
      Returns:
      the MicrosoftGraphOnPremisesProvisioningError object itself.
    • value

      public String value()
      Get the value property: Value of the property causing the error.
      Returns:
      the value value.
    • withValue

      Set the value property: Value of the property causing the error.
      Parameters:
      value - the value value to set.
      Returns:
      the MicrosoftGraphOnPremisesProvisioningError object itself.
    • additionalProperties

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

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

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