AutoPauseDelayTimeRange Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. AutoPauseDelayTimeRange
- com.
Implements
public final class AutoPauseDelayTimeRange
implements JsonSerializable<AutoPauseDelayTimeRange>
Supported auto pause delay time range.
Constructor Summary
Constructor | Description |
---|---|
AutoPauseDelayTimeRange() |
Creates an instance of Auto |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
defaultProperty()
Get the default |
Integer |
doNotPauseValue()
Get the do |
static
Auto |
fromJson(JsonReader jsonReader)
Reads an instance of Auto |
Integer |
maxValue()
Get the max |
Integer |
minValue()
Get the min |
Integer |
stepSize()
Get the step |
Json |
toJson(JsonWriter jsonWriter) |
Pause |
unit()
Get the unit property: Unit of time that delay is expressed in. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
AutoPauseDelayTimeRange
public AutoPauseDelayTimeRange()
Creates an instance of AutoPauseDelayTimeRange class.
Method Details
defaultProperty
public Integer defaultProperty()
Get the defaultProperty property: Default value is no value is provided.
Returns:
doNotPauseValue
public Integer doNotPauseValue()
Get the doNotPauseValue property: Value that is used to not pause (infinite delay before pause).
Returns:
fromJson
public static AutoPauseDelayTimeRange fromJson(JsonReader jsonReader)
Reads an instance of AutoPauseDelayTimeRange from the JsonReader.
Parameters:
Returns:
Throws:
maxValue
public Integer maxValue()
Get the maxValue property: Maximum value.
Returns:
minValue
public Integer minValue()
Get the minValue property: Minimum value.
Returns:
stepSize
public Integer stepSize()
Get the stepSize property: Step value for discrete values between the minimum value and the maximum value.
Returns:
toJson
unit
public PauseDelayTimeUnit unit()
Get the unit property: Unit of time that delay is expressed in.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java