CentralServerConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. workloadssapvirtualinstance. models. CentralServerConfiguration
- com.
Implements
public final class CentralServerConfiguration
implements JsonSerializable<CentralServerConfiguration>
Gets or sets the central server configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| CentralServerConfiguration() |
Creates an instance of Central |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Central |
fromJson(JsonReader jsonReader)
Reads an instance of Central |
| long |
instanceCount()
Get the instance |
| String |
subnetId()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Virtual |
virtualMachineConfiguration()
Get the virtual |
|
Central |
withInstanceCount(long instanceCount)
Set the instance |
|
Central |
withSubnetId(String subnetId)
Set the subnet |
|
Central |
withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
CentralServerConfiguration
public CentralServerConfiguration()
Creates an instance of CentralServerConfiguration class.
Method Details
fromJson
public static CentralServerConfiguration fromJson(JsonReader jsonReader)
Reads an instance of CentralServerConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
instanceCount
public long instanceCount()
Get the instanceCount property: The number of central server VMs.
Returns:
subnetId
public String subnetId()
Get the subnetId property: The subnet id.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualMachineConfiguration
public VirtualMachineConfiguration virtualMachineConfiguration()
Get the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.
Returns:
withInstanceCount
public CentralServerConfiguration withInstanceCount(long instanceCount)
Set the instanceCount property: The number of central server VMs.
Parameters:
Returns:
withSubnetId
public CentralServerConfiguration withSubnetId(String subnetId)
Set the subnetId property: The subnet id.
Parameters:
Returns:
withVirtualMachineConfiguration
public CentralServerConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
Set the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.
Parameters:
Returns: