Del via


SqlAgentConfigurationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.SqlAgentConfigurationProperties

Implements

public final class SqlAgentConfigurationProperties
implements JsonSerializable<SqlAgentConfigurationProperties>

Sql agent configuration properties.

Constructor Summary

Constructor Description
SqlAgentConfigurationProperties()

Creates an instance of SqlAgentConfigurationProperties class.

Method Summary

Modifier and Type Method and Description
static SqlAgentConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlAgentConfigurationProperties from the JsonReader.

SqlAgentConfigurationPropertiesState state()

Get the state property: The state of Sql Agent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlAgentConfigurationProperties withState(SqlAgentConfigurationPropertiesState state)

Set the state property: The state of Sql Agent.

Methods inherited from java.lang.Object

Constructor Details

SqlAgentConfigurationProperties

public SqlAgentConfigurationProperties()

Creates an instance of SqlAgentConfigurationProperties class.

Method Details

fromJson

public static SqlAgentConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlAgentConfigurationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlAgentConfigurationProperties 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 SqlAgentConfigurationProperties.

state

public SqlAgentConfigurationPropertiesState state()

Get the state property: The state of Sql Agent.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withState

public SqlAgentConfigurationProperties withState(SqlAgentConfigurationPropertiesState state)

Set the state property: The state of Sql Agent.

Parameters:

state - the state value to set.

Returns:

the SqlAgentConfigurationProperties object itself.

Applies to