Class SkuCapacity
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.SkuCapacity
-
public final class SkuCapacity extends Object
SKU capacity information.
-
-
Constructor Summary
Constructors Constructor Description SkuCapacity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
defaultProperty()
Get the defaultProperty property: Gets or sets the default capacity.Integer
maximum()
Get the maximum property: Gets or sets the maximum.Integer
minimum()
Get the minimum property: Gets or sets the minimum.SkuScaleType
scaleType()
Get the scaleType property: Gets or sets the type of the scale.void
validate()
Validates the instance.SkuCapacity
withDefaultProperty(Integer defaultProperty)
Set the defaultProperty property: Gets or sets the default capacity.SkuCapacity
withMaximum(Integer maximum)
Set the maximum property: Gets or sets the maximum.SkuCapacity
withMinimum(Integer minimum)
Set the minimum property: Gets or sets the minimum.SkuCapacity
withScaleType(SkuScaleType scaleType)
Set the scaleType property: Gets or sets the type of the scale.
-
-
-
Method Detail
-
defaultProperty
public Integer defaultProperty()
Get the defaultProperty property: Gets or sets the default capacity.- Returns:
- the defaultProperty value.
-
withDefaultProperty
public SkuCapacity withDefaultProperty(Integer defaultProperty)
Set the defaultProperty property: Gets or sets the default capacity.- Parameters:
defaultProperty
- the defaultProperty value to set.- Returns:
- the SkuCapacity object itself.
-
maximum
public Integer maximum()
Get the maximum property: Gets or sets the maximum.- Returns:
- the maximum value.
-
withMaximum
public SkuCapacity withMaximum(Integer maximum)
Set the maximum property: Gets or sets the maximum.- Parameters:
maximum
- the maximum value to set.- Returns:
- the SkuCapacity object itself.
-
minimum
public Integer minimum()
Get the minimum property: Gets or sets the minimum.- Returns:
- the minimum value.
-
withMinimum
public SkuCapacity withMinimum(Integer minimum)
Set the minimum property: Gets or sets the minimum.- Parameters:
minimum
- the minimum value to set.- Returns:
- the SkuCapacity object itself.
-
scaleType
public SkuScaleType scaleType()
Get the scaleType property: Gets or sets the type of the scale.- Returns:
- the scaleType value.
-
withScaleType
public SkuCapacity withScaleType(SkuScaleType scaleType)
Set the scaleType property: Gets or sets the type of the scale.- Parameters:
scaleType
- the scaleType value to set.- Returns:
- the SkuCapacity object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-