SqlAgentConfigurationInner Class

public final class SqlAgentConfigurationInner
extends ProxyResource

A recoverable managed database resource.

Constructor Summary

Constructor Description
SqlAgentConfigurationInner()

Creates an instance of SqlAgentConfigurationInner class.

Method Summary

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

Reads an instance of SqlAgentConfigurationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

SqlAgentConfigurationPropertiesState state()

Get the state property: The state of Sql Agent.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SqlAgentConfigurationInner withState(SqlAgentConfigurationPropertiesState state)

Set the state property: The state of Sql Agent.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SqlAgentConfigurationInner

public SqlAgentConfigurationInner()

Creates an instance of SqlAgentConfigurationInner class.

Method Details

fromJson

public static SqlAgentConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of SqlAgentConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SqlAgentConfigurationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SqlAgentConfigurationInner.name()

Returns:

the name value.

state

public SqlAgentConfigurationPropertiesState state()

Get the state property: The state of Sql Agent.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlAgentConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SqlAgentConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withState

public SqlAgentConfigurationInner withState(SqlAgentConfigurationPropertiesState state)

Set the state property: The state of Sql Agent.

Parameters:

state - the state value to set.

Returns:

the SqlAgentConfigurationInner object itself.

Applies to