Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import com.fasterxml.jackson.annotation.JsonProperty;
The properties describe the recommended machine configuration for this Image
Definition. These properties are updatable.
/**
* The properties describe the recommended machine configuration for this Image
* Definition. These properties are updatable.
*/
public class RecommendedMachineConfiguration {
The vCPUs property.
/**
* The vCPUs property.
*/
@JsonProperty(value = "vCPUs")
private ResourceRange vCPUs;
The memory property.
/**
* The memory property.
*/
@JsonProperty(value = "memory")
private ResourceRange memory;
Get the vCPUs value.
Returns: the vCPUs value
/**
* Get the vCPUs value.
*
* @return the vCPUs value
*/
public ResourceRange vCPUs() {
return this.vCPUs;
}
Set the vCPUs value.
Params: - vCPUs – the vCPUs value to set
Returns: the RecommendedMachineConfiguration object itself.
/**
* Set the vCPUs value.
*
* @param vCPUs the vCPUs value to set
* @return the RecommendedMachineConfiguration object itself.
*/
public RecommendedMachineConfiguration withVCPUs(ResourceRange vCPUs) {
this.vCPUs = vCPUs;
return this;
}
Get the memory value.
Returns: the memory value
/**
* Get the memory value.
*
* @return the memory value
*/
public ResourceRange memory() {
return this.memory;
}
Set the memory value.
Params: - memory – the memory value to set
Returns: the RecommendedMachineConfiguration object itself.
/**
* Set the memory value.
*
* @param memory the memory value to set
* @return the RecommendedMachineConfiguration object itself.
*/
public RecommendedMachineConfiguration withMemory(ResourceRange memory) {
this.memory = memory;
return this;
}
}