Dimension Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Dimension
- com.
Implements
public final class Dimension
implements JsonSerializable<Dimension>
Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, where instance name is dimension of the metric HTTP request.
Constructor Summary
Constructor | Description |
---|---|
Dimension() |
Creates an instance of Dimension class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
displayName()
Get the display |
static Dimension |
fromJson(JsonReader jsonReader)
Reads an instance of Dimension from the Json |
String |
internalName()
Get the internal |
String |
name()
Get the name property: The name property. |
Boolean |
toBeExportedForShoebox()
Get the to |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Dimension |
withDisplayName(String displayName)
Set the display |
Dimension |
withInternalName(String internalName)
Set the internal |
Dimension |
withName(String name)
Set the name property: The name property. |
Dimension |
withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the to |
Methods inherited from java.lang.Object
Constructor Details
Dimension
public Dimension()
Creates an instance of Dimension class.
Method Details
displayName
public String displayName()
Get the displayName property: The displayName property.
Returns:
fromJson
public static Dimension fromJson(JsonReader jsonReader)
Reads an instance of Dimension from the JsonReader.
Parameters:
Returns:
Throws:
internalName
public String internalName()
Get the internalName property: The internalName property.
Returns:
name
public String name()
Get the name property: The name property.
Returns:
toBeExportedForShoebox
public Boolean toBeExportedForShoebox()
Get the toBeExportedForShoebox property: The toBeExportedForShoebox property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplayName
public Dimension withDisplayName(String displayName)
Set the displayName property: The displayName property.
Parameters:
Returns:
withInternalName
public Dimension withInternalName(String internalName)
Set the internalName property: The internalName property.
Parameters:
Returns:
withName
public Dimension withName(String name)
Set the name property: The name property.
Parameters:
Returns:
withToBeExportedForShoebox
public Dimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the toBeExportedForShoebox property: The toBeExportedForShoebox property.
Parameters:
Returns:
Applies to
Azure SDK for Java