public final class AzureCapacity extends Object
Type | Property and Description |
---|---|
int |
default
Get the defaultProperty property: The default capacity that would be used.
|
Constructor and Description |
---|
AzureCapacity() |
Modifier and Type | Method and Description |
---|---|
int |
defaultProperty()
Get the defaultProperty property: The default capacity that would be used.
|
int |
maximum()
Get the maximum property: Maximum allowed capacity.
|
int |
minimum()
Get the minimum property: Minimum allowed capacity.
|
AzureScaleType |
scaleType()
Get the scaleType property: Scale type.
|
void |
validate()
Validates the instance.
|
AzureCapacity |
withDefaultProperty(int defaultProperty)
Set the defaultProperty property: The default capacity that would be used.
|
AzureCapacity |
withMaximum(int maximum)
Set the maximum property: Maximum allowed capacity.
|
AzureCapacity |
withMinimum(int minimum)
Set the minimum property: Minimum allowed capacity.
|
AzureCapacity |
withScaleType(AzureScaleType scaleType)
Set the scaleType property: Scale type.
|
public int defaultProperty
public AzureScaleType scaleType()
public AzureCapacity withScaleType(AzureScaleType scaleType)
scaleType
- the scaleType value to set.public int minimum()
public AzureCapacity withMinimum(int minimum)
minimum
- the minimum value to set.public int maximum()
public AzureCapacity withMaximum(int maximum)
maximum
- the maximum value to set.public int defaultProperty()
public AzureCapacity withDefaultProperty(int defaultProperty)
defaultProperty
- the defaultProperty value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.