Class ResourceConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceConfiguration
-
public final class ResourceConfiguration extends Object
The ResourceConfiguration model.
-
-
Constructor Summary
Constructors Constructor Description ResourceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
instanceCount()
Get the instanceCount property: Optional number of instances or nodes used by the compute target.String
instanceType()
Get the instanceType property: Optional type of VM used as supported by the compute target.Map<String,Object>
properties()
Get the properties property: Additional properties bag.void
validate()
Validates the instance.ResourceConfiguration
withInstanceCount(Integer instanceCount)
Set the instanceCount property: Optional number of instances or nodes used by the compute target.ResourceConfiguration
withInstanceType(String instanceType)
Set the instanceType property: Optional type of VM used as supported by the compute target.ResourceConfiguration
withProperties(Map<String,Object> properties)
Set the properties property: Additional properties bag.
-
-
-
Method Detail
-
instanceCount
public Integer instanceCount()
Get the instanceCount property: Optional number of instances or nodes used by the compute target.- Returns:
- the instanceCount value.
-
withInstanceCount
public ResourceConfiguration withInstanceCount(Integer instanceCount)
Set the instanceCount property: Optional number of instances or nodes used by the compute target.- Parameters:
instanceCount
- the instanceCount value to set.- Returns:
- the ResourceConfiguration object itself.
-
instanceType
public String instanceType()
Get the instanceType property: Optional type of VM used as supported by the compute target.- Returns:
- the instanceType value.
-
withInstanceType
public ResourceConfiguration withInstanceType(String instanceType)
Set the instanceType property: Optional type of VM used as supported by the compute target.- Parameters:
instanceType
- the instanceType value to set.- Returns:
- the ResourceConfiguration object itself.
-
properties
public Map<String,Object> properties()
Get the properties property: Additional properties bag.- Returns:
- the properties value.
-
withProperties
public ResourceConfiguration withProperties(Map<String,Object> properties)
Set the properties property: Additional properties bag.- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-