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