ServerAdvancedThreatProtectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerAdvancedThreatProtectionInner
- com.
- com.
public final class ServerAdvancedThreatProtectionInner
extends ProxyResource
A server Advanced Threat Protection.
Constructor Summary
Constructor | Description |
---|---|
ServerAdvancedThreatProtectionInner() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
creationTime()
Get the creation |
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Advanced |
state()
Get the state property: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Server |
withState(AdvancedThreatProtectionState state)
Set the state property: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerAdvancedThreatProtectionInner
public ServerAdvancedThreatProtectionInner()
Creates an instance of ServerAdvancedThreatProtectionInner class.
Method Details
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Specifies the UTC creation time of the policy.
Returns:
fromJson
public static ServerAdvancedThreatProtectionInner fromJson(JsonReader jsonReader)
Reads an instance of ServerAdvancedThreatProtectionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerAdvancedThreatProtectionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerAdvancedThreatProtectionInner.name()Returns:
state
public AdvancedThreatProtectionState state()
Get the state property: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server.
Returns:
systemData
public SystemData systemData()
Get the systemData property: SystemData of AdvancedThreatProtectionResource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerAdvancedThreatProtectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerAdvancedThreatProtectionInner.type()Returns:
validate
public void validate()
Validates the instance.
withState
public ServerAdvancedThreatProtectionInner withState(AdvancedThreatProtectionState state)
Set the state property: Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server.
Parameters:
Returns:
Applies to
Azure SDK for Java