public final class RecommendedMachineConfiguration extends Object
Constructor and Description |
---|
RecommendedMachineConfiguration() |
Modifier and Type | Method and Description |
---|---|
ResourceRange |
memory()
Get the memory property: Describes the resource range.
|
void |
validate()
Validates the instance.
|
ResourceRange |
vCPUs()
Get the vCPUs property: Describes the resource range.
|
RecommendedMachineConfiguration |
withMemory(ResourceRange memory)
Set the memory property: Describes the resource range.
|
RecommendedMachineConfiguration |
withVCPUs(ResourceRange vCPUs)
Set the vCPUs property: Describes the resource range.
|
public ResourceRange vCPUs()
public RecommendedMachineConfiguration withVCPUs(ResourceRange vCPUs)
vCPUs
- the vCPUs value to set.public ResourceRange memory()
public RecommendedMachineConfiguration withMemory(ResourceRange memory)
memory
- the memory value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.