GovernanceEmailNotification Class

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

Implements

public final class GovernanceEmailNotification
implements JsonSerializable<GovernanceEmailNotification>

The governance email weekly notification configuration.

Constructor Summary

Constructor Description
GovernanceEmailNotification()

Creates an instance of GovernanceEmailNotification class.

Method Summary

Modifier and Type Method and Description
Boolean disableManagerEmailNotification()

Get the disableManagerEmailNotification property: Exclude manager from weekly email notification.

Boolean disableOwnerEmailNotification()

Get the disableOwnerEmailNotification property: Exclude owner from weekly email notification.

static GovernanceEmailNotification fromJson(JsonReader jsonReader)

Reads an instance of GovernanceEmailNotification from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GovernanceEmailNotification withDisableManagerEmailNotification(Boolean disableManagerEmailNotification)

Set the disableManagerEmailNotification property: Exclude manager from weekly email notification.

GovernanceEmailNotification withDisableOwnerEmailNotification(Boolean disableOwnerEmailNotification)

Set the disableOwnerEmailNotification property: Exclude owner from weekly email notification.

Methods inherited from java.lang.Object

Constructor Details

GovernanceEmailNotification

public GovernanceEmailNotification()

Creates an instance of GovernanceEmailNotification class.

Method Details

disableManagerEmailNotification

public Boolean disableManagerEmailNotification()

Get the disableManagerEmailNotification property: Exclude manager from weekly email notification.

Returns:

the disableManagerEmailNotification value.

disableOwnerEmailNotification

public Boolean disableOwnerEmailNotification()

Get the disableOwnerEmailNotification property: Exclude owner from weekly email notification.

Returns:

the disableOwnerEmailNotification value.

fromJson

public static GovernanceEmailNotification fromJson(JsonReader jsonReader)

Reads an instance of GovernanceEmailNotification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisableManagerEmailNotification

public GovernanceEmailNotification withDisableManagerEmailNotification(Boolean disableManagerEmailNotification)

Set the disableManagerEmailNotification property: Exclude manager from weekly email notification.

Parameters:

disableManagerEmailNotification - the disableManagerEmailNotification value to set.

Returns:

the GovernanceEmailNotification object itself.

withDisableOwnerEmailNotification

public GovernanceEmailNotification withDisableOwnerEmailNotification(Boolean disableOwnerEmailNotification)

Set the disableOwnerEmailNotification property: Exclude owner from weekly email notification.

Parameters:

disableOwnerEmailNotification - the disableOwnerEmailNotification value to set.

Returns:

the GovernanceEmailNotification object itself.

Applies to