OperationResourceMetricSpecificationDimension Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.OperationResourceMetricSpecificationDimension

Implements

public final class OperationResourceMetricSpecificationDimension
implements JsonSerializable<OperationResourceMetricSpecificationDimension>

OperationResourceMetricSpecificationDimension object.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of the dimensions.

static OperationResourceMetricSpecificationDimension fromJson(JsonReader jsonReader)

Reads an instance of OperationResourceMetricSpecificationDimension from the JsonReader.

String name()

Get the name property: Name of the dimension.

Boolean toBeExportedForShoebox()

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

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

displayName

public String displayName()

Get the displayName property: Display name of the dimensions.

Returns:

the displayName value.

fromJson

public static OperationResourceMetricSpecificationDimension fromJson(JsonReader jsonReader)

Reads an instance of OperationResourceMetricSpecificationDimension from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the dimension.

Returns:

the name value.

toBeExportedForShoebox

public Boolean toBeExportedForShoebox()

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

Returns:

the toBeExportedForShoebox value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to