閱讀英文

共用方式為


ActionGroupPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.fluent.models.ActionGroupPatch

Implements

public final class ActionGroupPatch
implements JsonSerializable<ActionGroupPatch>

An Azure action group for patch operations.

Constructor Summary

Constructor Description
ActionGroupPatch()

Creates an instance of ActionGroupPatch class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Indicates whether this action group is enabled.

static ActionGroupPatch fromJson(JsonReader jsonReader)

Reads an instance of ActionGroupPatch from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActionGroupPatch withEnabled(Boolean enabled)

Set the enabled property: Indicates whether this action group is enabled.

Methods inherited from java.lang.Object

Constructor Details

ActionGroupPatch

public ActionGroupPatch()

Creates an instance of ActionGroupPatch class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated.

Returns:

the enabled value.

fromJson

public static ActionGroupPatch fromJson(JsonReader jsonReader)

Reads an instance of ActionGroupPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ActionGroupPatch withEnabled(Boolean enabled)

Set the enabled property: Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated.

Parameters:

enabled - the enabled value to set.

Returns:

the ActionGroupPatch object itself.

Applies to

Azure SDK for Java

Latest