Class MicrosoftGraphDateTimeColumn

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

public final class MicrosoftGraphDateTimeColumn extends Object
dateTimeColumn.
  • Constructor Details

    • MicrosoftGraphDateTimeColumn

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

    • displayAs

      public String displayAs()
      Get the displayAs property: How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
      Returns:
      the displayAs value.
    • withDisplayAs

      public MicrosoftGraphDateTimeColumn withDisplayAs(String displayAs)
      Set the displayAs property: How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default.
      Parameters:
      displayAs - the displayAs value to set.
      Returns:
      the MicrosoftGraphDateTimeColumn object itself.
    • format

      public String format()
      Get the format property: Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime.
      Returns:
      the format value.
    • withFormat

      public MicrosoftGraphDateTimeColumn withFormat(String format)
      Set the format property: Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime.
      Parameters:
      format - the format value to set.
      Returns:
      the MicrosoftGraphDateTimeColumn object itself.
    • additionalProperties

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

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

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