Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Resource metrics service provided by Microsoft.Insights resource provider.
/**
* Resource metrics service provided by Microsoft.Insights resource provider.
*/
public class ServiceSpecification {
The metricSpecifications property.
/**
* The metricSpecifications property.
*/
@JsonProperty(value = "metricSpecifications")
private List<MetricSpecification> metricSpecifications;
The logSpecifications property.
/**
* The logSpecifications property.
*/
@JsonProperty(value = "logSpecifications")
private List<LogSpecification> logSpecifications;
Get the metricSpecifications value.
Returns: the metricSpecifications value
/**
* Get the metricSpecifications value.
*
* @return the metricSpecifications value
*/
public List<MetricSpecification> metricSpecifications() {
return this.metricSpecifications;
}
Set the metricSpecifications value.
Params: - metricSpecifications – the metricSpecifications value to set
Returns: the ServiceSpecification object itself.
/**
* Set the metricSpecifications value.
*
* @param metricSpecifications the metricSpecifications value to set
* @return the ServiceSpecification object itself.
*/
public ServiceSpecification withMetricSpecifications(List<MetricSpecification> metricSpecifications) {
this.metricSpecifications = metricSpecifications;
return this;
}
Get the logSpecifications value.
Returns: the logSpecifications value
/**
* Get the logSpecifications value.
*
* @return the logSpecifications value
*/
public List<LogSpecification> logSpecifications() {
return this.logSpecifications;
}
Set the logSpecifications value.
Params: - logSpecifications – the logSpecifications value to set
Returns: the ServiceSpecification object itself.
/**
* Set the logSpecifications value.
*
* @param logSpecifications the logSpecifications value to set
* @return the ServiceSpecification object itself.
*/
public ServiceSpecification withLogSpecifications(List<LogSpecification> logSpecifications) {
this.logSpecifications = logSpecifications;
return this;
}
}