Class MicrosoftGraphTimeRange

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

public final class MicrosoftGraphTimeRange extends Object
timeRange.
  • Constructor Details

    • MicrosoftGraphTimeRange

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

    • endTime

      public String endTime()
      Get the endTime property: End time for the time range.
      Returns:
      the endTime value.
    • withEndTime

      public MicrosoftGraphTimeRange withEndTime(String endTime)
      Set the endTime property: End time for the time range.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the MicrosoftGraphTimeRange object itself.
    • startTime

      public String startTime()
      Get the startTime property: Start time for the time range.
      Returns:
      the startTime value.
    • withStartTime

      public MicrosoftGraphTimeRange withStartTime(String startTime)
      Set the startTime property: Start time for the time range.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the MicrosoftGraphTimeRange object itself.
    • additionalProperties

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

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

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