Class MicrosoftGraphDateTimeColumn
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDateTimeColumn
-
public final class MicrosoftGraphDateTimeColumn extends Object
dateTimeColumn.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphDateTimeColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: dateTimeColumn.String
displayAs()
Get the displayAs property: How the value should be presented in the UX.String
format()
Get the format property: Indicates whether the value should be presented as a date only or a date and time.void
validate()
Validates the instance.MicrosoftGraphDateTimeColumn
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: dateTimeColumn.MicrosoftGraphDateTimeColumn
withDisplayAs(String displayAs)
Set the displayAs property: How the value should be presented in the UX.MicrosoftGraphDateTimeColumn
withFormat(String format)
Set the format property: Indicates whether the value should be presented as a date only or a date and time.
-
-
-
Method Detail
-
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.
-
-