SqlAgentConfigurationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SqlAgentConfigurationInner
- com.
- com.
public final class SqlAgentConfigurationInner
extends ProxyResource
A recoverable managed database resource.
Constructor Summary
Constructor | Description |
---|---|
SqlAgentConfigurationInner() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Sql |
state()
Get the state property: The state of Sql Agent. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Sql |
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:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SqlAgentConfigurationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SqlAgentConfigurationInner.name()Returns:
state
public SqlAgentConfigurationPropertiesState state()
Get the state property: The state of Sql Agent.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlAgentConfigurationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SqlAgentConfigurationInner.type()Returns:
validate
public void validate()
Validates the instance.
withState
public SqlAgentConfigurationInner withState(SqlAgentConfigurationPropertiesState state)
Set the state property: The state of Sql Agent.
Parameters:
Returns:
Applies to
Azure SDK for Java