OperationMetaMetricDimensionSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.OperationMetaMetricDimensionSpecification

Implements

public final class OperationMetaMetricDimensionSpecification
implements JsonSerializable<OperationMetaMetricDimensionSpecification>

What is this?.

Constructor Summary

Constructor Description
OperationMetaMetricDimensionSpecification()

Creates an instance of OperationMetaMetricDimensionSpecification class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Dimension display name.

static OperationMetaMetricDimensionSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaMetricDimensionSpecification from the JsonReader.

String name()

Get the name property: Dimension unique name.

Boolean toBeExportedForShoebox()

Get the toBeExportedForShoebox property: Whether this metric should be exported for Shoebox.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationMetaMetricDimensionSpecification withDisplayName(String displayName)

Set the displayName property: Dimension display name.

OperationMetaMetricDimensionSpecification withName(String name)

Set the name property: Dimension unique name.

OperationMetaMetricDimensionSpecification withToBeExportedForShoebox(Boolean toBeExportedForShoebox)

Set the toBeExportedForShoebox property: Whether this metric should be exported for Shoebox.

Methods inherited from java.lang.Object

Constructor Details

OperationMetaMetricDimensionSpecification

public OperationMetaMetricDimensionSpecification()

Creates an instance of OperationMetaMetricDimensionSpecification class.

Method Details

displayName

public String displayName()

Get the displayName property: Dimension display name.

Returns:

the displayName value.

fromJson

public static OperationMetaMetricDimensionSpecification fromJson(JsonReader jsonReader)

Reads an instance of OperationMetaMetricDimensionSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Dimension unique name.

Returns:

the name value.

toBeExportedForShoebox

public Boolean toBeExportedForShoebox()

Get the toBeExportedForShoebox property: Whether this metric should be exported for Shoebox.

Returns:

the toBeExportedForShoebox value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public OperationMetaMetricDimensionSpecification withDisplayName(String displayName)

Set the displayName property: Dimension display name.

Parameters:

displayName - the displayName value to set.

Returns:

the OperationMetaMetricDimensionSpecification object itself.

withName

public OperationMetaMetricDimensionSpecification withName(String name)

Set the name property: Dimension unique name.

Parameters:

name - the name value to set.

Returns:

the OperationMetaMetricDimensionSpecification object itself.

withToBeExportedForShoebox

public OperationMetaMetricDimensionSpecification withToBeExportedForShoebox(Boolean toBeExportedForShoebox)

Set the toBeExportedForShoebox property: Whether this metric should be exported for Shoebox.

Parameters:

toBeExportedForShoebox - the toBeExportedForShoebox value to set.

Returns:

the OperationMetaMetricDimensionSpecification object itself.

Applies to