### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.Dimension"
fullName: "com.azure.resourcemanager.network.models.Dimension"
name: "Dimension"
nameWithType: "Dimension"
summary: "Dimension of the metric."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Dimension** implements <>"
constructors:
- uid: "com.azure.resourcemanager.network.models.Dimension.Dimension()"
fullName: "com.azure.resourcemanager.network.models.Dimension.Dimension()"
name: "Dimension()"
nameWithType: "Dimension.Dimension()"
summary: "Creates an instance of Dimension class."
syntax: "public Dimension()"
desc: "Creates an instance of Dimension class."
methods:
- uid: "com.azure.resourcemanager.network.models.Dimension.displayName()"
fullName: "com.azure.resourcemanager.network.models.Dimension.displayName()"
name: "displayName()"
nameWithType: "Dimension.displayName()"
summary: "Get the displayName property: The display name of the dimension."
syntax: "public String displayName()"
desc: "Get the displayName property: The display name of the dimension."
returns:
description: "the displayName value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Dimension.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.Dimension.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Dimension.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Dimension from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static Dimension fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Dimension."
type: "IOException"
desc: "Reads an instance of Dimension from the JsonReader."
returns:
description: "An instance of Dimension if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: ""
- uid: "com.azure.resourcemanager.network.models.Dimension.internalName()"
fullName: "com.azure.resourcemanager.network.models.Dimension.internalName()"
name: "internalName()"
nameWithType: "Dimension.internalName()"
summary: "Get the internalName property: The internal name of the dimension."
syntax: "public String internalName()"
desc: "Get the internalName property: The internal name of the dimension."
returns:
description: "the internalName value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Dimension.name()"
fullName: "com.azure.resourcemanager.network.models.Dimension.name()"
name: "name()"
nameWithType: "Dimension.name()"
summary: "Get the name property: The name of the dimension."
syntax: "public String name()"
desc: "Get the name property: The name of the dimension."
returns:
description: "the name value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.Dimension.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.Dimension.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Dimension.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.network.models.Dimension.validate()"
fullName: "com.azure.resourcemanager.network.models.Dimension.validate()"
name: "validate()"
nameWithType: "Dimension.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.Dimension.withDisplayName(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.Dimension.withDisplayName(String displayName)"
name: "withDisplayName(String displayName)"
nameWithType: "Dimension.withDisplayName(String displayName)"
summary: "Set the displayName property: The display name of the dimension."
parameters:
- description: "the displayName value to set."
name: "displayName"
type: "String"
syntax: "public Dimension withDisplayName(String displayName)"
desc: "Set the displayName property: The display name of the dimension."
returns:
description: "the Dimension object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.Dimension.withInternalName(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.Dimension.withInternalName(String internalName)"
name: "withInternalName(String internalName)"
nameWithType: "Dimension.withInternalName(String internalName)"
summary: "Set the internalName property: The internal name of the dimension."
parameters:
- description: "the internalName value to set."
name: "internalName"
type: "String"
syntax: "public Dimension withInternalName(String internalName)"
desc: "Set the internalName property: The internal name of the dimension."
returns:
description: "the Dimension object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.Dimension.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.Dimension.withName(String name)"
name: "withName(String name)"
nameWithType: "Dimension.withName(String name)"
summary: "Set the name property: The name of the dimension."
parameters:
- description: "the name value to set."
name: "name"
type: "String"
syntax: "public Dimension withName(String name)"
desc: "Set the name property: The name of the dimension."
returns:
description: "the Dimension object itself."
type: ""
type: "class"
desc: "Dimension of the metric."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0