OperationMetaServiceSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.datalakeanalytics.models.OperationMetaServiceSpecification

Implements

public final class OperationMetaServiceSpecification
implements JsonSerializable<OperationMetaServiceSpecification>

The OperationMetaServiceSpecification model.

Constructor Summary

Constructor Description
OperationMetaServiceSpecification()

Creates an instance of OperationMetaServiceSpecification class.

Method Summary

Modifier and Type Method and Description
static OperationMetaServiceSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaServiceSpecification from the JsonReader.

List<OperationMetaLogSpecification> logSpecifications()

Get the logSpecifications property: The logSpecifications for OperationMetaServiceSpecification.

List<OperationMetaMetricSpecification> metricSpecifications()

Get the metricSpecifications property: The metricSpecifications for OperationMetaServiceSpecification.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationMetaServiceSpecification withLogSpecifications(List<OperationMetaLogSpecification> logSpecifications)

Set the logSpecifications property: The logSpecifications for OperationMetaServiceSpecification.

OperationMetaServiceSpecification withMetricSpecifications(List<OperationMetaMetricSpecification> metricSpecifications)

Set the metricSpecifications property: The metricSpecifications for OperationMetaServiceSpecification.

Methods inherited from java.lang.Object

Constructor Details

OperationMetaServiceSpecification

public OperationMetaServiceSpecification()

Creates an instance of OperationMetaServiceSpecification class.

Method Details

fromJson

public static OperationMetaServiceSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaServiceSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationMetaServiceSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the OperationMetaServiceSpecification.

logSpecifications

public List<OperationMetaLogSpecification> logSpecifications()

Get the logSpecifications property: The logSpecifications for OperationMetaServiceSpecification.

Returns:

the logSpecifications value.

metricSpecifications

public List<OperationMetaMetricSpecification> metricSpecifications()

Get the metricSpecifications property: The metricSpecifications for OperationMetaServiceSpecification.

Returns:

the metricSpecifications value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLogSpecifications

public OperationMetaServiceSpecification withLogSpecifications(List<OperationMetaLogSpecification> logSpecifications)

Set the logSpecifications property: The logSpecifications for OperationMetaServiceSpecification.

Parameters:

logSpecifications - the logSpecifications value to set.

Returns:

the OperationMetaServiceSpecification object itself.

withMetricSpecifications

public OperationMetaServiceSpecification withMetricSpecifications(List<OperationMetaMetricSpecification> metricSpecifications)

Set the metricSpecifications property: The metricSpecifications for OperationMetaServiceSpecification.

Parameters:

metricSpecifications - the metricSpecifications value to set.

Returns:

the OperationMetaServiceSpecification object itself.

Applies to