AlertSimulatorBundlesRequestProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AlertSimulatorRequestProperties - com.
azure. resourcemanager. security. models. AlertSimulatorBundlesRequestProperties
- com.
- com.
public final class AlertSimulatorBundlesRequestProperties
extends AlertSimulatorRequestProperties
Simulate alerts according to this bundles.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertSimulatorBundlesRequestProperties() |
Creates an instance of Alert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Bundle |
bundles()
Get the bundles property: Bundles list. |
|
static
Alert |
fromJson(JsonReader jsonReader)
Reads an instance of Alert |
| Kind |
kind()
Get the kind property: The kind of alert simulation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Alert |
withBundles(List<BundleType> bundles)
Set the bundles property: Bundles list. |
Methods inherited from AlertSimulatorRequestProperties
Methods inherited from java.lang.Object
Constructor Details
AlertSimulatorBundlesRequestProperties
public AlertSimulatorBundlesRequestProperties()
Creates an instance of AlertSimulatorBundlesRequestProperties class.
Method Details
bundles
public List<BundleType> bundles()
Get the bundles property: Bundles list.
Returns:
fromJson
public static AlertSimulatorBundlesRequestProperties fromJson(JsonReader jsonReader)
Reads an instance of AlertSimulatorBundlesRequestProperties from the JsonReader.
Parameters:
Returns:
Throws:
kind
public Kind kind()
Get the kind property: The kind of alert simulation.
Overrides:
AlertSimulatorBundlesRequestProperties.kind()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AlertSimulatorBundlesRequestProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AlertSimulatorBundlesRequestProperties.validate()withBundles
public AlertSimulatorBundlesRequestProperties withBundles(List<BundleType> bundles)
Set the bundles property: Bundles list.
Parameters:
Returns: