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

150 строки
9.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.servicebus.models.SBSku"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku"
name: "SBSku"
nameWithType: "SBSku"
summary: "SKU of the namespace."
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 **SBSku**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.servicebus.models.SBSku?alt=com.azure.resourcemanager.servicebus.models.SBSku&text=SBSku\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.SBSku()"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.SBSku()"
name: "SBSku()"
nameWithType: "SBSku.SBSku()"
summary: "Creates an instance of SBSku class."
syntax: "public SBSku()"
desc: "Creates an instance of SBSku class."
methods:
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.capacity()"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.capacity()"
name: "capacity()"
nameWithType: "SBSku.capacity()"
summary: "Get the capacity property: The specified messaging units for the tier."
syntax: "public Integer capacity()"
desc: "Get the capacity property: The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4."
returns:
description: "the capacity value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "SBSku.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of SBSku from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static SBSku fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of SBSku from the JsonReader."
returns:
description: "An instance of SBSku if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SBSku?alt=com.azure.resourcemanager.servicebus.models.SBSku&text=SBSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.name()"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.name()"
name: "name()"
nameWithType: "SBSku.name()"
summary: "Get the name property: Name of this SKU."
syntax: "public SkuName name()"
desc: "Get the name property: Name of this SKU."
returns:
description: "the name value."
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SkuName?alt=com.azure.resourcemanager.servicebus.models.SkuName&text=SkuName\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.tier()"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.tier()"
name: "tier()"
nameWithType: "SBSku.tier()"
summary: "Get the tier property: The billing tier of this particular SKU."
syntax: "public SkuTier tier()"
desc: "Get the tier property: The billing tier of this particular SKU."
returns:
description: "the tier value."
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SkuTier?alt=com.azure.resourcemanager.servicebus.models.SkuTier&text=SkuTier\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "SBSku.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.validate()"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.validate()"
name: "validate()"
nameWithType: "SBSku.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.withCapacity(java.lang.Integer)"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.withCapacity(Integer capacity)"
name: "withCapacity(Integer capacity)"
nameWithType: "SBSku.withCapacity(Integer capacity)"
summary: "Set the capacity property: The specified messaging units for the tier."
parameters:
- description: "the capacity value to set."
name: "capacity"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public SBSku withCapacity(Integer capacity)"
desc: "Set the capacity property: The specified messaging units for the tier. For Premium tier, capacity are 1,2 and 4."
returns:
description: "the SBSku object itself."
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SBSku?alt=com.azure.resourcemanager.servicebus.models.SBSku&text=SBSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.withName(com.azure.resourcemanager.servicebus.models.SkuName)"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.withName(SkuName name)"
name: "withName(SkuName name)"
nameWithType: "SBSku.withName(SkuName name)"
summary: "Set the name property: Name of this SKU."
parameters:
- description: "the name value to set."
name: "name"
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SkuName?alt=com.azure.resourcemanager.servicebus.models.SkuName&text=SkuName\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SBSku withName(SkuName name)"
desc: "Set the name property: Name of this SKU."
returns:
description: "the SBSku object itself."
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SBSku?alt=com.azure.resourcemanager.servicebus.models.SBSku&text=SBSku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.servicebus.models.SBSku.withTier(com.azure.resourcemanager.servicebus.models.SkuTier)"
fullName: "com.azure.resourcemanager.servicebus.models.SBSku.withTier(SkuTier tier)"
name: "withTier(SkuTier tier)"
nameWithType: "SBSku.withTier(SkuTier tier)"
summary: "Set the tier property: The billing tier of this particular SKU."
parameters:
- description: "the tier value to set."
name: "tier"
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SkuTier?alt=com.azure.resourcemanager.servicebus.models.SkuTier&text=SkuTier\" data-throw-if-not-resolved=\"False\" />"
syntax: "public SBSku withTier(SkuTier tier)"
desc: "Set the tier property: The billing tier of this particular SKU."
returns:
description: "the SBSku object itself."
type: "<xref href=\"com.azure.resourcemanager.servicebus.models.SBSku?alt=com.azure.resourcemanager.servicebus.models.SBSku&text=SBSku\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "SKU of the namespace."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.servicebus.models.SBSku?alt=com.azure.resourcemanager.servicebus.models.SBSku&text=SBSku\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.servicebus.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-servicebus:2.44.0