ServiceSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. keyvault. models. ServiceSpecification
- com.
Implements
public final class ServiceSpecification
implements JsonSerializable<ServiceSpecification>
One property of operation, include log specifications.
Constructor Summary
Constructor | Description |
---|---|
ServiceSpecification() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
List<Log |
logSpecifications()
Get the log |
List<Metric |
metricSpecifications()
Get the metric |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Service |
withLogSpecifications(List<LogSpecification> logSpecifications)
Set the log |
Service |
withMetricSpecifications(List<MetricSpecification> metricSpecifications)
Set the metric |
Methods inherited from java.lang.Object
Constructor Details
ServiceSpecification
public ServiceSpecification()
Creates an instance of ServiceSpecification class.
Method Details
fromJson
public static ServiceSpecification fromJson(JsonReader jsonReader)
Reads an instance of ServiceSpecification from the JsonReader.
Parameters:
Returns:
Throws:
logSpecifications
public List
Get the logSpecifications property: Log specifications of operation.
Returns:
metricSpecifications
public List
Get the metricSpecifications property: Metric specifications of operation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLogSpecifications
public ServiceSpecification withLogSpecifications(List
Set the logSpecifications property: Log specifications of operation.
Parameters:
Returns:
withMetricSpecifications
public ServiceSpecification withMetricSpecifications(List
Set the metricSpecifications property: Metric specifications of operation.
Parameters:
Returns:
Applies to
Azure SDK for Java