azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.h...

127 строки
7.1 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
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 current<wbr>Value property: The current usage."
syntax: "public Long currentValue()"
desc: "Get the currentValue property: The current usage."
returns:
description: "the currentValue value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- 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: "<xref href=\"com.azure.resourcemanager.hdinsight.models.LocalizedName?alt=com.azure.resourcemanager.hdinsight.models.LocalizedName&text=LocalizedName\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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 current<wbr>Value property: The current usage."
parameters:
- description: "the currentValue value to set."
name: "currentValue"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public Usage withCurrentValue(Long currentValue)"
desc: "Set the currentValue property: The current usage."
returns:
description: "the Usage object itself."
type: "<xref href=\"com.azure.resourcemanager.hdinsight.models.Usage?alt=com.azure.resourcemanager.hdinsight.models.Usage&text=Usage\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public Usage withLimit(Long limit)"
desc: "Set the limit property: The maximum allowed usage."
returns:
description: "the Usage object itself."
type: "<xref href=\"com.azure.resourcemanager.hdinsight.models.Usage?alt=com.azure.resourcemanager.hdinsight.models.Usage&text=Usage\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Usage withUnit(String unit)"
desc: "Set the unit property: The type of measurement for usage."
returns:
description: "the Usage object itself."
type: "<xref href=\"com.azure.resourcemanager.hdinsight.models.Usage?alt=com.azure.resourcemanager.hdinsight.models.Usage&text=Usage\" data-throw-if-not-resolved=\"False\" />"
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