### YamlMime:JavaType uid: "com.azure.resourcemanager.avs.models.ClusterUpdate" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate" name: "ClusterUpdate" nameWithType: "ClusterUpdate" summary: "An update of a cluster resource." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **ClusterUpdate**
implements <>" constructors: - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.ClusterUpdate()" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.ClusterUpdate()" name: "ClusterUpdate()" nameWithType: "ClusterUpdate.ClusterUpdate()" summary: "Creates an instance of ClusterUpdate class." syntax: "public ClusterUpdate()" desc: "Creates an instance of ClusterUpdate class." methods: - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.clusterSize()" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.clusterSize()" name: "clusterSize()" nameWithType: "ClusterUpdate.clusterSize()" summary: "Get the clusterSize property: The cluster size." syntax: "public Integer clusterSize()" desc: "Get the clusterSize property: The cluster size." returns: description: "the clusterSize value." type: "Integer" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "ClusterUpdate.fromJson(JsonReader jsonReader)" summary: "Reads an instance of ClusterUpdate from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static ClusterUpdate fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the ClusterUpdate." type: "IOException" desc: "Reads an instance of ClusterUpdate from the JsonReader." returns: description: "An instance of ClusterUpdate if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.hosts()" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.hosts()" name: "hosts()" nameWithType: "ClusterUpdate.hosts()" summary: "Get the hosts property: The hosts." syntax: "public List hosts()" desc: "Get the hosts property: The hosts." returns: description: "the hosts value." type: "List<String>" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.sku()" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.sku()" name: "sku()" nameWithType: "ClusterUpdate.sku()" summary: "Get the sku property: The SKU (Stock Keeping Unit) assigned to this resource." syntax: "public Sku sku()" desc: "Get the sku property: The SKU (Stock Keeping Unit) assigned to this resource." returns: description: "the sku value." type: "" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "ClusterUpdate.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.validate()" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.validate()" name: "validate()" nameWithType: "ClusterUpdate.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.withClusterSize(java.lang.Integer)" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.withClusterSize(Integer clusterSize)" name: "withClusterSize(Integer clusterSize)" nameWithType: "ClusterUpdate.withClusterSize(Integer clusterSize)" summary: "Set the clusterSize property: The cluster size." parameters: - description: "the clusterSize value to set." name: "clusterSize" type: "Integer" syntax: "public ClusterUpdate withClusterSize(Integer clusterSize)" desc: "Set the clusterSize property: The cluster size." returns: description: "the ClusterUpdate object itself." type: "" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.withHosts(java.util.List)" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.withHosts(List hosts)" name: "withHosts(List hosts)" nameWithType: "ClusterUpdate.withHosts(List hosts)" summary: "Set the hosts property: The hosts." parameters: - description: "the hosts value to set." name: "hosts" type: "List<String>" syntax: "public ClusterUpdate withHosts(List hosts)" desc: "Set the hosts property: The hosts." returns: description: "the ClusterUpdate object itself." type: "" - uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.withSku(com.azure.resourcemanager.avs.models.Sku)" fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.withSku(Sku sku)" name: "withSku(Sku sku)" nameWithType: "ClusterUpdate.withSku(Sku sku)" summary: "Set the sku property: The SKU (Stock Keeping Unit) assigned to this resource." parameters: - description: "the sku value to set." name: "sku" type: "" syntax: "public ClusterUpdate withSku(Sku sku)" desc: "Set the sku property: The SKU (Stock Keeping Unit) assigned to this resource." returns: description: "the ClusterUpdate object itself." type: "" type: "class" desc: "An update of a cluster resource." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.avs.models" artifact: com.azure.resourcemanager:azure-resourcemanager-avs:1.2.0