AutomatedResponseType Class

public final class AutomatedResponseType
extends ExpandableStringEnum<AutomatedResponseType>

Optional. Specifies the automated response action to take when malware is detected.

Field Summary

Modifier and Type Field and Description
static final AutomatedResponseType BLOB_SOFT_DELETE

The blob will be soft deleted when malware is detected.

static final AutomatedResponseType NONE

No automated response will be taken when malware is detected.

Constructor Summary

Constructor Description
AutomatedResponseType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AutomatedResponseType value.

Method Summary

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

Creates or finds a AutomatedResponseType from its string representation.

static Collection<AutomatedResponseType> values()

Gets known AutomatedResponseType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BLOB_SOFT_DELETE

public static final AutomatedResponseType BLOB_SOFT_DELETE

The blob will be soft deleted when malware is detected.

NONE

public static final AutomatedResponseType NONE

No automated response will be taken when malware is detected.

Constructor Details

AutomatedResponseType

@Deprecated
public AutomatedResponseType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AutomatedResponseType value.

Method Details

fromString

public static AutomatedResponseType fromString(String name)

Creates or finds a AutomatedResponseType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AutomatedResponseType.

values

public static Collection<AutomatedResponseType> values()

Gets known AutomatedResponseType values.

Returns:

known AutomatedResponseType values.

Applies to