Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import com.fasterxml.jackson.annotation.JsonProperty;
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.
/** * 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. */
public class Dimension {
The name property.
/** * The name property. */
@JsonProperty(value = "name") private String name;
The displayName property.
/** * The displayName property. */
@JsonProperty(value = "displayName") private String displayName;
The internalName property.
/** * The internalName property. */
@JsonProperty(value = "internalName") private String internalName;
The toBeExportedForShoebox property.
/** * The toBeExportedForShoebox property. */
@JsonProperty(value = "toBeExportedForShoebox") private Boolean toBeExportedForShoebox;
Get the name value.
Returns:the name value
/** * Get the name value. * * @return the name value */
public String name() { return this.name; }
Set the name value.
Params:
  • name – the name value to set
Returns:the Dimension object itself.
/** * Set the name value. * * @param name the name value to set * @return the Dimension object itself. */
public Dimension withName(String name) { this.name = name; return this; }
Get the displayName value.
Returns:the displayName value
/** * Get the displayName value. * * @return the displayName value */
public String displayName() { return this.displayName; }
Set the displayName value.
Params:
  • displayName – the displayName value to set
Returns:the Dimension object itself.
/** * Set the displayName value. * * @param displayName the displayName value to set * @return the Dimension object itself. */
public Dimension withDisplayName(String displayName) { this.displayName = displayName; return this; }
Get the internalName value.
Returns:the internalName value
/** * Get the internalName value. * * @return the internalName value */
public String internalName() { return this.internalName; }
Set the internalName value.
Params:
  • internalName – the internalName value to set
Returns:the Dimension object itself.
/** * Set the internalName value. * * @param internalName the internalName value to set * @return the Dimension object itself. */
public Dimension withInternalName(String internalName) { this.internalName = internalName; return this; }
Get the toBeExportedForShoebox value.
Returns:the toBeExportedForShoebox value
/** * Get the toBeExportedForShoebox value. * * @return the toBeExportedForShoebox value */
public Boolean toBeExportedForShoebox() { return this.toBeExportedForShoebox; }
Set the toBeExportedForShoebox value.
Params:
  • toBeExportedForShoebox – the toBeExportedForShoebox value to set
Returns:the Dimension object itself.
/** * Set the toBeExportedForShoebox value. * * @param toBeExportedForShoebox the toBeExportedForShoebox value to set * @return the Dimension object itself. */
public Dimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox) { this.toBeExportedForShoebox = toBeExportedForShoebox; return this; } }