SensitivityLabelInner Class

public final class SensitivityLabelInner
extends ProxyResource

A sensitivity label.

Constructor Summary

Constructor Description
SensitivityLabelInner()

Creates an instance of SensitivityLabelInner class.

Method Summary

Modifier and Type Method and Description
String columnName()

Get the columnName property: The column name.

static SensitivityLabelInner fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String informationType()

Get the informationType property: The information type.

String informationTypeId()

Get the informationTypeId property: The information type ID.

Boolean isDisabled()

Get the isDisabled property: Is sensitivity recommendation disabled.

String labelId()

Get the labelId property: The label ID.

String labelName()

Get the labelName property: The label name.

String managedBy()

Get the managedBy property: Resource that manages the sensitivity label.

String name()

Get the name property: The name of the resource.

SensitivityLabelRank rank()

Get the rank property: The rank property.

String schemaName()

Get the schemaName property: The schema name.

String tableName()

Get the tableName property: The table name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SensitivityLabelInner withInformationType(String informationType)

Set the informationType property: The information type.

SensitivityLabelInner withInformationTypeId(String informationTypeId)

Set the informationTypeId property: The information type ID.

SensitivityLabelInner withLabelId(String labelId)

Set the labelId property: The label ID.

SensitivityLabelInner withLabelName(String labelName)

Set the labelName property: The label name.

SensitivityLabelInner withRank(SensitivityLabelRank rank)

Set the rank property: The rank property.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SensitivityLabelInner

public SensitivityLabelInner()

Creates an instance of SensitivityLabelInner class.

Method Details

columnName

public String columnName()

Get the columnName property: The column name.

Returns:

the columnName value.

fromJson

public static SensitivityLabelInner fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SensitivityLabelInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SensitivityLabelInner.id()

Returns:

the id value.

informationType

public String informationType()

Get the informationType property: The information type.

Returns:

the informationType value.

informationTypeId

public String informationTypeId()

Get the informationTypeId property: The information type ID.

Returns:

the informationTypeId value.

isDisabled

public Boolean isDisabled()

Get the isDisabled property: Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.

Returns:

the isDisabled value.

labelId

public String labelId()

Get the labelId property: The label ID.

Returns:

the labelId value.

labelName

public String labelName()

Get the labelName property: The label name.

Returns:

the labelName value.

managedBy

public String managedBy()

Get the managedBy property: Resource that manages the sensitivity label.

Returns:

the managedBy value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SensitivityLabelInner.name()

Returns:

the name value.

rank

public SensitivityLabelRank rank()

Get the rank property: The rank property.

Returns:

the rank value.

schemaName

public String schemaName()

Get the schemaName property: The schema name.

Returns:

the schemaName value.

tableName

public String tableName()

Get the tableName property: The table name.

Returns:

the tableName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SensitivityLabelInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SensitivityLabelInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withInformationType

public SensitivityLabelInner withInformationType(String informationType)

Set the informationType property: The information type.

Parameters:

informationType - the informationType value to set.

Returns:

the SensitivityLabelInner object itself.

withInformationTypeId

public SensitivityLabelInner withInformationTypeId(String informationTypeId)

Set the informationTypeId property: The information type ID.

Parameters:

informationTypeId - the informationTypeId value to set.

Returns:

the SensitivityLabelInner object itself.

withLabelId

public SensitivityLabelInner withLabelId(String labelId)

Set the labelId property: The label ID.

Parameters:

labelId - the labelId value to set.

Returns:

the SensitivityLabelInner object itself.

withLabelName

public SensitivityLabelInner withLabelName(String labelName)

Set the labelName property: The label name.

Parameters:

labelName - the labelName value to set.

Returns:

the SensitivityLabelInner object itself.

withRank

public SensitivityLabelInner withRank(SensitivityLabelRank rank)

Set the rank property: The rank property.

Parameters:

rank - the rank value to set.

Returns:

the SensitivityLabelInner object itself.

Applies to