Class MetricsResponseInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.MetricsResponseInner
Metrics Response.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dateTimeBegin property: The dateTimeBegin property.Get the dateTimeEnd property: The dateTimeEnd property.Get the granularity property: The granularity property.series()Get the series property: The series property.voidvalidate()Validates the instance.withDateTimeBegin(OffsetDateTime dateTimeBegin) Set the dateTimeBegin property: The dateTimeBegin property.withDateTimeEnd(OffsetDateTime dateTimeEnd) Set the dateTimeEnd property: The dateTimeEnd property.withGranularity(MetricsGranularity granularity) Set the granularity property: The granularity property.withSeries(List<MetricsResponseSeriesItem> series) Set the series property: The series property.
-
Constructor Details
-
MetricsResponseInner
public MetricsResponseInner()Creates an instance of MetricsResponseInner class.
-
-
Method Details
-
dateTimeBegin
Get the dateTimeBegin property: The dateTimeBegin property.- Returns:
- the dateTimeBegin value.
-
withDateTimeBegin
Set the dateTimeBegin property: The dateTimeBegin property.- Parameters:
dateTimeBegin- the dateTimeBegin value to set.- Returns:
- the MetricsResponseInner object itself.
-
dateTimeEnd
Get the dateTimeEnd property: The dateTimeEnd property.- Returns:
- the dateTimeEnd value.
-
withDateTimeEnd
Set the dateTimeEnd property: The dateTimeEnd property.- Parameters:
dateTimeEnd- the dateTimeEnd value to set.- Returns:
- the MetricsResponseInner object itself.
-
granularity
Get the granularity property: The granularity property.- Returns:
- the granularity value.
-
withGranularity
Set the granularity property: The granularity property.- Parameters:
granularity- the granularity value to set.- Returns:
- the MetricsResponseInner object itself.
-
series
Get the series property: The series property.- Returns:
- the series value.
-
withSeries
Set the series property: The series property.- Parameters:
series- the series value to set.- Returns:
- the MetricsResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-