### YamlMime:JavaType
uid: "com.azure.resourcemanager.hdinsight.models.Usage"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage"
name: "Usage"
nameWithType: "Usage"
summary: "The details about the usage of a particular limited resource."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **Usage**"
constructors:
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.Usage()"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.Usage()"
name: "Usage()"
nameWithType: "Usage.Usage()"
summary: "Creates an instance of Usage class."
syntax: "public Usage()"
desc: "Creates an instance of Usage class."
methods:
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.currentValue()"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.currentValue()"
name: "currentValue()"
nameWithType: "Usage.currentValue()"
summary: "Get the currentValue property: The current usage."
syntax: "public Long currentValue()"
desc: "Get the currentValue property: The current usage."
returns:
description: "the currentValue value."
type: "Long"
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.limit()"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.limit()"
name: "limit()"
nameWithType: "Usage.limit()"
summary: "Get the limit property: The maximum allowed usage."
syntax: "public Long limit()"
desc: "Get the limit property: The maximum allowed usage."
returns:
description: "the limit value."
type: "Long"
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.name()"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.name()"
name: "name()"
nameWithType: "Usage.name()"
summary: "Get the name property: The details about the localizable name of the used resource."
syntax: "public LocalizedName name()"
desc: "Get the name property: The details about the localizable name of the used resource."
returns:
description: "the name value."
type: ""
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.unit()"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.unit()"
name: "unit()"
nameWithType: "Usage.unit()"
summary: "Get the unit property: The type of measurement for usage."
syntax: "public String unit()"
desc: "Get the unit property: The type of measurement for usage."
returns:
description: "the unit value."
type: "String"
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.validate()"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.validate()"
name: "validate()"
nameWithType: "Usage.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.withCurrentValue(java.lang.Long)"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.withCurrentValue(Long currentValue)"
name: "withCurrentValue(Long currentValue)"
nameWithType: "Usage.withCurrentValue(Long currentValue)"
summary: "Set the currentValue property: The current usage."
parameters:
- description: "the currentValue value to set."
name: "currentValue"
type: "Long"
syntax: "public Usage withCurrentValue(Long currentValue)"
desc: "Set the currentValue property: The current usage."
returns:
description: "the Usage object itself."
type: ""
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.withLimit(java.lang.Long)"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.withLimit(Long limit)"
name: "withLimit(Long limit)"
nameWithType: "Usage.withLimit(Long limit)"
summary: "Set the limit property: The maximum allowed usage."
parameters:
- description: "the limit value to set."
name: "limit"
type: "Long"
syntax: "public Usage withLimit(Long limit)"
desc: "Set the limit property: The maximum allowed usage."
returns:
description: "the Usage object itself."
type: ""
- uid: "com.azure.resourcemanager.hdinsight.models.Usage.withUnit(java.lang.String)"
fullName: "com.azure.resourcemanager.hdinsight.models.Usage.withUnit(String unit)"
name: "withUnit(String unit)"
nameWithType: "Usage.withUnit(String unit)"
summary: "Set the unit property: The type of measurement for usage."
parameters:
- description: "the unit value to set."
name: "unit"
type: "String"
syntax: "public Usage withUnit(String unit)"
desc: "Set the unit property: The type of measurement for usage."
returns:
description: "the Usage object itself."
type: ""
type: "class"
desc: "The details about the usage of a particular limited resource."
metadata: {}
package: "com.azure.resourcemanager.hdinsight.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-hdinsight:1.0.0