Class WaitStatisticsInput
java.lang.Object
com.azure.resourcemanager.mariadb.models.WaitStatisticsInput
Input to get wait statistics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationWindow property: Aggregation interval type in ISO 8601 format.Get the observationEndTime property: Observation end time.Get the observationStartTime property: Observation start time.void
validate()
Validates the instance.withAggregationWindow
(String aggregationWindow) Set the aggregationWindow property: Aggregation interval type in ISO 8601 format.withObservationEndTime
(OffsetDateTime observationEndTime) Set the observationEndTime property: Observation end time.withObservationStartTime
(OffsetDateTime observationStartTime) Set the observationStartTime property: Observation start time.
-
Constructor Details
-
WaitStatisticsInput
public WaitStatisticsInput()Creates an instance of WaitStatisticsInput class.
-
-
Method Details
-
observationStartTime
Get the observationStartTime property: Observation start time.- Returns:
- the observationStartTime value.
-
withObservationStartTime
Set the observationStartTime property: Observation start time.- Parameters:
observationStartTime
- the observationStartTime value to set.- Returns:
- the WaitStatisticsInput object itself.
-
observationEndTime
Get the observationEndTime property: Observation end time.- Returns:
- the observationEndTime value.
-
withObservationEndTime
Set the observationEndTime property: Observation end time.- Parameters:
observationEndTime
- the observationEndTime value to set.- Returns:
- the WaitStatisticsInput object itself.
-
aggregationWindow
Get the aggregationWindow property: Aggregation interval type in ISO 8601 format.- Returns:
- the aggregationWindow value.
-
withAggregationWindow
Set the aggregationWindow property: Aggregation interval type in ISO 8601 format.- Parameters:
aggregationWindow
- the aggregationWindow value to set.- Returns:
- the WaitStatisticsInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-