SecurityContactRole Class

public final class SecurityContactRole
extends ExpandableStringEnum<SecurityContactRole>

A possible role to configure sending security notification alerts to.

Field Summary

Modifier and Type Field and Description
static final SecurityContactRole ACCOUNT_ADMIN

If enabled, send notification on new alerts to the account admins.

static final SecurityContactRole CONTRIBUTOR

If enabled, send notification on new alerts to the subscription contributors.

static final SecurityContactRole OWNER

If enabled, send notification on new alerts to the subscription owners.

static final SecurityContactRole SERVICE_ADMIN

If enabled, send notification on new alerts to the service admins.

Constructor Summary

Constructor Description
SecurityContactRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityContactRole value.

Method Summary

Modifier and Type Method and Description
static SecurityContactRole fromString(String name)

Creates or finds a SecurityContactRole from its string representation.

static Collection<SecurityContactRole> values()

Gets known SecurityContactRole values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACCOUNT_ADMIN

public static final SecurityContactRole ACCOUNT_ADMIN

If enabled, send notification on new alerts to the account admins.

CONTRIBUTOR

public static final SecurityContactRole CONTRIBUTOR

If enabled, send notification on new alerts to the subscription contributors.

OWNER

public static final SecurityContactRole OWNER

If enabled, send notification on new alerts to the subscription owners.

SERVICE_ADMIN

public static final SecurityContactRole SERVICE_ADMIN

If enabled, send notification on new alerts to the service admins.

Constructor Details

SecurityContactRole

@Deprecated
public SecurityContactRole()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityContactRole value.

Method Details

fromString

public static SecurityContactRole fromString(String name)

Creates or finds a SecurityContactRole from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityContactRole.

values

public static Collection<SecurityContactRole> values()

Gets known SecurityContactRole values.

Returns:

known SecurityContactRole values.

Applies to