Class WaitStatisticsInput
- java.lang.Object
-
- com.azure.resourcemanager.mysql.models.WaitStatisticsInput
-
public final class WaitStatisticsInput extends Object
Input to get wait statistics.
-
-
Constructor Summary
Constructors Constructor Description WaitStatisticsInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaggregationWindow()Get the aggregationWindow property: Aggregation interval type in ISO 8601 format.OffsetDateTimeobservationEndTime()Get the observationEndTime property: Observation end time.OffsetDateTimeobservationStartTime()Get the observationStartTime property: Observation start time.voidvalidate()Validates the instance.WaitStatisticsInputwithAggregationWindow(String aggregationWindow)Set the aggregationWindow property: Aggregation interval type in ISO 8601 format.WaitStatisticsInputwithObservationEndTime(OffsetDateTime observationEndTime)Set the observationEndTime property: Observation end time.WaitStatisticsInputwithObservationStartTime(OffsetDateTime observationStartTime)Set the observationStartTime property: Observation start time.
-
-
-
Method Detail
-
observationStartTime
public OffsetDateTime observationStartTime()
Get the observationStartTime property: Observation start time.- Returns:
- the observationStartTime value.
-
withObservationStartTime
public WaitStatisticsInput withObservationStartTime(OffsetDateTime observationStartTime)
Set the observationStartTime property: Observation start time.- Parameters:
observationStartTime- the observationStartTime value to set.- Returns:
- the WaitStatisticsInput object itself.
-
observationEndTime
public OffsetDateTime observationEndTime()
Get the observationEndTime property: Observation end time.- Returns:
- the observationEndTime value.
-
withObservationEndTime
public WaitStatisticsInput withObservationEndTime(OffsetDateTime observationEndTime)
Set the observationEndTime property: Observation end time.- Parameters:
observationEndTime- the observationEndTime value to set.- Returns:
- the WaitStatisticsInput object itself.
-
aggregationWindow
public String aggregationWindow()
Get the aggregationWindow property: Aggregation interval type in ISO 8601 format.- Returns:
- the aggregationWindow value.
-
withAggregationWindow
public WaitStatisticsInput withAggregationWindow(String aggregationWindow)
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.
-
-