OperationMetaMetricSpecification Class

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

Implements

public final class OperationMetaMetricSpecification
implements JsonSerializable<OperationMetaMetricSpecification>

The OperationMetaMetricSpecification model.

Constructor Summary

Constructor Description
OperationMetaMetricSpecification()

Creates an instance of OperationMetaMetricSpecification class.

Method Summary

Modifier and Type Method and Description
String aggregationType()

Get the aggregationType property: The aggregationType for OperationMetaMetricSpecification.

List<OperationMetaMetricAvailabilitiesSpecification> availabilities()

Get the availabilities property: The availabilities for OperationMetaMetricSpecification.

String displayDescription()

Get the displayDescription property: The displayName for OperationMetaMetricSpecification.

String displayName()

Get the displayName property: The displayName for OperationMetaMetricSpecification.

static OperationMetaMetricSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaMetricSpecification from the JsonReader.

String name()

Get the name property: The name for OperationMetaMetricSpecification.

JsonWriter toJson(JsonWriter jsonWriter)
String unit()

Get the unit property: The unit for OperationMetaMetricSpecification.

void validate()

Validates the instance.

OperationMetaMetricSpecification withAggregationType(String aggregationType)

Set the aggregationType property: The aggregationType for OperationMetaMetricSpecification.

OperationMetaMetricSpecification withAvailabilities(List<OperationMetaMetricAvailabilitiesSpecification> availabilities)

Set the availabilities property: The availabilities for OperationMetaMetricSpecification.

OperationMetaMetricSpecification withDisplayDescription(String displayDescription)

Set the displayDescription property: The displayName for OperationMetaMetricSpecification.

OperationMetaMetricSpecification withDisplayName(String displayName)

Set the displayName property: The displayName for OperationMetaMetricSpecification.

OperationMetaMetricSpecification withName(String name)

Set the name property: The name for OperationMetaMetricSpecification.

OperationMetaMetricSpecification withUnit(String unit)

Set the unit property: The unit for OperationMetaMetricSpecification.

Methods inherited from java.lang.Object

Constructor Details

OperationMetaMetricSpecification

public OperationMetaMetricSpecification()

Creates an instance of OperationMetaMetricSpecification class.

Method Details

aggregationType

public String aggregationType()

Get the aggregationType property: The aggregationType for OperationMetaMetricSpecification.

Returns:

the aggregationType value.

availabilities

public List<OperationMetaMetricAvailabilitiesSpecification> availabilities()

Get the availabilities property: The availabilities for OperationMetaMetricSpecification.

Returns:

the availabilities value.

displayDescription

public String displayDescription()

Get the displayDescription property: The displayName for OperationMetaMetricSpecification.

Returns:

the displayDescription value.

displayName

public String displayName()

Get the displayName property: The displayName for OperationMetaMetricSpecification.

Returns:

the displayName value.

fromJson

public static OperationMetaMetricSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaMetricSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationMetaMetricSpecification 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 OperationMetaMetricSpecification.

name

public String name()

Get the name property: The name for OperationMetaMetricSpecification.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: The unit for OperationMetaMetricSpecification.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

withAggregationType

public OperationMetaMetricSpecification withAggregationType(String aggregationType)

Set the aggregationType property: The aggregationType for OperationMetaMetricSpecification.

Parameters:

aggregationType - the aggregationType value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withAvailabilities

public OperationMetaMetricSpecification withAvailabilities(List<OperationMetaMetricAvailabilitiesSpecification> availabilities)

Set the availabilities property: The availabilities for OperationMetaMetricSpecification.

Parameters:

availabilities - the availabilities value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withDisplayDescription

public OperationMetaMetricSpecification withDisplayDescription(String displayDescription)

Set the displayDescription property: The displayName for OperationMetaMetricSpecification.

Parameters:

displayDescription - the displayDescription value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withDisplayName

public OperationMetaMetricSpecification withDisplayName(String displayName)

Set the displayName property: The displayName for OperationMetaMetricSpecification.

Parameters:

displayName - the displayName value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withName

public OperationMetaMetricSpecification withName(String name)

Set the name property: The name for OperationMetaMetricSpecification.

Parameters:

name - the name value to set.

Returns:

the OperationMetaMetricSpecification object itself.

withUnit

public OperationMetaMetricSpecification withUnit(String unit)

Set the unit property: The unit for OperationMetaMetricSpecification.

Parameters:

unit - the unit value to set.

Returns:

the OperationMetaMetricSpecification object itself.

Applies to