VirtualClusterProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.VirtualClusterProperties

Implements

public final class VirtualClusterProperties
implements JsonSerializable<VirtualClusterProperties>

The properties of a virtual cluster.

Constructor Summary

Constructor Description
VirtualClusterProperties()

Creates an instance of VirtualClusterProperties class.

Method Summary

Modifier and Type Method and Description
List<String> childResources()

Get the childResources property: List of resources in this virtual cluster.

static VirtualClusterProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterProperties from the JsonReader.

String subnetId()

Get the subnetId property: Subnet resource ID for the virtual cluster.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: Virtual cluster version.

VirtualClusterProperties withVersion(String version)

Set the version property: Virtual cluster version.

Methods inherited from java.lang.Object

Constructor Details

VirtualClusterProperties

public VirtualClusterProperties()

Creates an instance of VirtualClusterProperties class.

Method Details

childResources

public List<String> childResources()

Get the childResources property: List of resources in this virtual cluster.

Returns:

the childResources value.

fromJson

public static VirtualClusterProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualClusterProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualClusterProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the VirtualClusterProperties.

subnetId

public String subnetId()

Get the subnetId property: Subnet resource ID for the virtual cluster.

Returns:

the subnetId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Virtual cluster version.

Returns:

the version value.

withVersion

public VirtualClusterProperties withVersion(String version)

Set the version property: Virtual cluster version.

Parameters:

version - the version value to set.

Returns:

the VirtualClusterProperties object itself.

Applies to