Class MicrosoftGraphDateTimeColumn
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDateTimeColumn
dateTimeColumn.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDateTimeColumn class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: dateTimeColumn.Get the displayAs property: How the value should be presented in the UX.format()Get the format property: Indicates whether the value should be presented as a date only or a date and time.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: dateTimeColumn.withDisplayAs(String displayAs) Set the displayAs property: How the value should be presented in the UX.withFormat(String format) Set the format property: Indicates whether the value should be presented as a date only or a date and time.
-
Constructor Details
-
MicrosoftGraphDateTimeColumn
public MicrosoftGraphDateTimeColumn()Creates an instance of MicrosoftGraphDateTimeColumn class.
-
-
Method Details
-
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
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
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
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
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.
-