AutoPauseDelayTimeRange Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.AutoPauseDelayTimeRange

Implements

public final class AutoPauseDelayTimeRange
implements JsonSerializable<AutoPauseDelayTimeRange>

Supported auto pause delay time range.

Constructor Summary

Constructor Description
AutoPauseDelayTimeRange()

Creates an instance of AutoPauseDelayTimeRange class.

Method Summary

Modifier and Type Method and Description
Integer defaultProperty()

Get the defaultProperty property: Default value is no value is provided.

Integer doNotPauseValue()

Get the doNotPauseValue property: Value that is used to not pause (infinite delay before pause).

static AutoPauseDelayTimeRange fromJson(JsonReader jsonReader)

Reads an instance of AutoPauseDelayTimeRange from the JsonReader.

Integer maxValue()

Get the maxValue property: Maximum value.

Integer minValue()

Get the minValue property: Minimum value.

Integer stepSize()

Get the stepSize property: Step value for discrete values between the minimum value and the maximum value.

JsonWriter toJson(JsonWriter jsonWriter)
PauseDelayTimeUnit 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:

the defaultProperty value.

doNotPauseValue

public Integer doNotPauseValue()

Get the doNotPauseValue property: Value that is used to not pause (infinite delay before pause).

Returns:

the doNotPauseValue value.

fromJson

public static AutoPauseDelayTimeRange fromJson(JsonReader jsonReader)

Reads an instance of AutoPauseDelayTimeRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AutoPauseDelayTimeRange if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AutoPauseDelayTimeRange.

maxValue

public Integer maxValue()

Get the maxValue property: Maximum value.

Returns:

the maxValue value.

minValue

public Integer minValue()

Get the minValue property: Minimum value.

Returns:

the minValue value.

stepSize

public Integer stepSize()

Get the stepSize property: Step value for discrete values between the minimum value and the maximum value.

Returns:

the stepSize value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public PauseDelayTimeUnit unit()

Get the unit property: Unit of time that delay is expressed in.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to