Class MicrosoftGraphDateTimeZone
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDateTimeZone
dateTimeTimeZone.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDateTimeZone class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: dateTimeTimeZone.dateTime()Get the dateTime property: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).timeZone()Get the timeZone property: Represents a time zone, for example, 'Pacific Standard Time'.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: dateTimeTimeZone.withDateTime(String dateTime) Set the dateTime property: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).withTimeZone(String timeZone) Set the timeZone property: Represents a time zone, for example, 'Pacific Standard Time'.
-
Constructor Details
-
MicrosoftGraphDateTimeZone
public MicrosoftGraphDateTimeZone()Creates an instance of MicrosoftGraphDateTimeZone class.
-
-
Method Details
-
dateTime
Get the dateTime property: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).- Returns:
- the dateTime value.
-
withDateTime
Set the dateTime property: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000).- Parameters:
dateTime- the dateTime value to set.- Returns:
- the MicrosoftGraphDateTimeZone object itself.
-
timeZone
Get the timeZone property: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.- Returns:
- the timeZone value.
-
withTimeZone
Set the timeZone property: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values.- Parameters:
timeZone- the timeZone value to set.- Returns:
- the MicrosoftGraphDateTimeZone object itself.
-
additionalProperties
Get the additionalProperties property: dateTimeTimeZone.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: dateTimeTimeZone.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDateTimeZone object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-