Source Class

public final class Source
extends ExpandableStringEnum<Source>

The platform where the assessed resource resides.

Field Summary

Modifier and Type Field and Description
static final Source AWS

Aws.

static final Source AZURE

Resource is in Azure.

static final Source GCP

Gcp.

static final Source ON_PREMISE

Resource in an on premise machine connected to Azure cloud.

static final Source ON_PREMISE_RESOURCE_DETAILS

On premise resource details.

static final Source ON_PREMISE_SQL

SQL Resource in an on premise machine connected to Azure cloud.

Constructor Summary

Constructor Description
Source()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Source value.

Method Summary

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

Creates or finds a Source from its string representation.

static Collection<Source> values()

Gets known Source values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AWS

public static final Source AWS

Aws.

AZURE

public static final Source AZURE

Resource is in Azure.

GCP

public static final Source GCP

Gcp.

ON_PREMISE

public static final Source ON_PREMISE

Resource in an on premise machine connected to Azure cloud.

ON_PREMISE_RESOURCE_DETAILS

public static final Source ON_PREMISE_RESOURCE_DETAILS

On premise resource details.

ON_PREMISE_SQL

public static final Source ON_PREMISE_SQL

SQL Resource in an on premise machine connected to Azure cloud.

Constructor Details

Source

@Deprecated
public Source()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Source value.

Method Details

fromString

public static Source fromString(String name)

Creates or finds a Source from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Source.

values

public static Collection values()

Gets known Source values.

Returns:

known Source values.

Applies to