150 строки
15 KiB
YAML
150 строки
15 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.monitor.models.TimeWindow"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow"
|
|
name: "TimeWindow"
|
|
nameWithType: "TimeWindow"
|
|
summary: "A specific date-time for the profile."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **TimeWindow**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.monitor.models.TimeWindow?alt=com.azure.resourcemanager.monitor.models.TimeWindow&text=TimeWindow\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.TimeWindow()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.TimeWindow()"
|
|
name: "TimeWindow()"
|
|
nameWithType: "TimeWindow.TimeWindow()"
|
|
summary: "Creates an instance of Time<wbr>Window class."
|
|
syntax: "public TimeWindow()"
|
|
desc: "Creates an instance of TimeWindow class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.end()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.end()"
|
|
name: "end()"
|
|
nameWithType: "TimeWindow.end()"
|
|
summary: "Get the end property: the end time for the profile in ISO 8601 format."
|
|
syntax: "public OffsetDateTime end()"
|
|
desc: "Get the end property: the end time for the profile in ISO 8601 format."
|
|
returns:
|
|
description: "the end value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "TimeWindow.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Time<wbr>Window from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static TimeWindow fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of TimeWindow from the JsonReader."
|
|
returns:
|
|
description: "An instance of TimeWindow if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.TimeWindow?alt=com.azure.resourcemanager.monitor.models.TimeWindow&text=TimeWindow\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.start()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.start()"
|
|
name: "start()"
|
|
nameWithType: "TimeWindow.start()"
|
|
summary: "Get the start property: the start time for the profile in ISO 8601 format."
|
|
syntax: "public OffsetDateTime start()"
|
|
desc: "Get the start property: the start time for the profile in ISO 8601 format."
|
|
returns:
|
|
description: "the start value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.timeZone()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.timeZone()"
|
|
name: "timeZone()"
|
|
nameWithType: "TimeWindow.timeZone()"
|
|
summary: "Get the time<wbr>Zone property: the timezone of the start and end times for the profile."
|
|
syntax: "public String timeZone()"
|
|
desc: "Get the timeZone property: the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time."
|
|
returns:
|
|
description: "the timeZone value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "TimeWindow.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.validate()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.validate()"
|
|
name: "validate()"
|
|
nameWithType: "TimeWindow.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.withEnd(java.time.OffsetDateTime)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.withEnd(OffsetDateTime end)"
|
|
name: "withEnd(OffsetDateTime end)"
|
|
nameWithType: "TimeWindow.withEnd(OffsetDateTime end)"
|
|
summary: "Set the end property: the end time for the profile in ISO 8601 format."
|
|
parameters:
|
|
- description: "the end value to set."
|
|
name: "end"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
syntax: "public TimeWindow withEnd(OffsetDateTime end)"
|
|
desc: "Set the end property: the end time for the profile in ISO 8601 format."
|
|
returns:
|
|
description: "the TimeWindow object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.TimeWindow?alt=com.azure.resourcemanager.monitor.models.TimeWindow&text=TimeWindow\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.withStart(java.time.OffsetDateTime)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.withStart(OffsetDateTime start)"
|
|
name: "withStart(OffsetDateTime start)"
|
|
nameWithType: "TimeWindow.withStart(OffsetDateTime start)"
|
|
summary: "Set the start property: the start time for the profile in ISO 8601 format."
|
|
parameters:
|
|
- description: "the start value to set."
|
|
name: "start"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
syntax: "public TimeWindow withStart(OffsetDateTime start)"
|
|
desc: "Set the start property: the start time for the profile in ISO 8601 format."
|
|
returns:
|
|
description: "the TimeWindow object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.TimeWindow?alt=com.azure.resourcemanager.monitor.models.TimeWindow&text=TimeWindow\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.TimeWindow.withTimeZone(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.TimeWindow.withTimeZone(String timeZone)"
|
|
name: "withTimeZone(String timeZone)"
|
|
nameWithType: "TimeWindow.withTimeZone(String timeZone)"
|
|
summary: "Set the time<wbr>Zone property: the timezone of the start and end times for the profile."
|
|
parameters:
|
|
- description: "the timeZone value to set."
|
|
name: "timeZone"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public TimeWindow withTimeZone(String timeZone)"
|
|
desc: "Set the timeZone property: the timezone of the start and end times for the profile. Some examples of valid time zones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time."
|
|
returns:
|
|
description: "the TimeWindow object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.TimeWindow?alt=com.azure.resourcemanager.monitor.models.TimeWindow&text=TimeWindow\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A specific date-time for the profile."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.monitor.models.TimeWindow?alt=com.azure.resourcemanager.monitor.models.TimeWindow&text=TimeWindow\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.monitor.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0
|