AlertSimulatorRequestProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AlertSimulatorRequestProperties

Implements

public class AlertSimulatorRequestProperties
implements JsonSerializable<AlertSimulatorRequestProperties>

Describes properties of an alert simulation request.

Constructor Summary

Constructor Description
AlertSimulatorRequestProperties()

Creates an instance of AlertSimulatorRequestProperties class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Describes properties of an alert simulation request.

static AlertSimulatorRequestProperties fromJson(JsonReader jsonReader)

Reads an instance of AlertSimulatorRequestProperties from the JsonReader.

Kind kind()

Get the kind property: The kind of alert simulation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AlertSimulatorRequestProperties withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Describes properties of an alert simulation request.

Methods inherited from java.lang.Object

Constructor Details

AlertSimulatorRequestProperties

public AlertSimulatorRequestProperties()

Creates an instance of AlertSimulatorRequestProperties class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Describes properties of an alert simulation request.

Returns:

the additionalProperties value.

fromJson

public static AlertSimulatorRequestProperties fromJson(JsonReader jsonReader)

Reads an instance of AlertSimulatorRequestProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kind

public Kind kind()

Get the kind property: The kind of alert simulation.

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public AlertSimulatorRequestProperties withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Describes properties of an alert simulation request.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the AlertSimulatorRequestProperties object itself.

Applies to