Del via


SensitivityLabelUpdateInner Class

public final class SensitivityLabelUpdateInner
extends ProxyResource

A sensitivity label update operation.

Constructor Summary

Constructor Description
SensitivityLabelUpdateInner()

Creates an instance of SensitivityLabelUpdateInner class.

Method Summary

Modifier and Type Method and Description
String column()

Get the column property: Column name to update.

static SensitivityLabelUpdateInner fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelUpdateInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

SensitivityLabelUpdateKind op()

Get the op property: The op property.

String schema()

Get the schema property: Schema name of the column to update.

SensitivityLabelInner sensitivityLabel()

Get the sensitivityLabel property: The sensitivity label information to apply on a column.

String table()

Get the table property: Table name of the column to update.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SensitivityLabelUpdateInner withColumn(String column)

Set the column property: Column name to update.

SensitivityLabelUpdateInner withOp(SensitivityLabelUpdateKind op)

Set the op property: The op property.

SensitivityLabelUpdateInner withSchema(String schema)

Set the schema property: Schema name of the column to update.

SensitivityLabelUpdateInner withSensitivityLabel(SensitivityLabelInner sensitivityLabel)

Set the sensitivityLabel property: The sensitivity label information to apply on a column.

SensitivityLabelUpdateInner withTable(String table)

Set the table property: Table name of the column to update.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SensitivityLabelUpdateInner

public SensitivityLabelUpdateInner()

Creates an instance of SensitivityLabelUpdateInner class.

Method Details

column

public String column()

Get the column property: Column name to update.

Returns:

the column value.

fromJson

public static SensitivityLabelUpdateInner fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelUpdateInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SensitivityLabelUpdateInner 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:

SensitivityLabelUpdateInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SensitivityLabelUpdateInner.name()

Returns:

the name value.

op

public SensitivityLabelUpdateKind op()

Get the op property: The op property.

Returns:

the op value.

schema

public String schema()

Get the schema property: Schema name of the column to update.

Returns:

the schema value.

sensitivityLabel

public SensitivityLabelInner sensitivityLabel()

Get the sensitivityLabel property: The sensitivity label information to apply on a column.

Returns:

the sensitivityLabel value.

table

public String table()

Get the table property: Table name of the column to update.

Returns:

the table value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SensitivityLabelUpdateInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SensitivityLabelUpdateInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withColumn

public SensitivityLabelUpdateInner withColumn(String column)

Set the column property: Column name to update.

Parameters:

column - the column value to set.

Returns:

the SensitivityLabelUpdateInner object itself.

withOp

public SensitivityLabelUpdateInner withOp(SensitivityLabelUpdateKind op)

Set the op property: The op property.

Parameters:

op - the op value to set.

Returns:

the SensitivityLabelUpdateInner object itself.

withSchema

public SensitivityLabelUpdateInner withSchema(String schema)

Set the schema property: Schema name of the column to update.

Parameters:

schema - the schema value to set.

Returns:

the SensitivityLabelUpdateInner object itself.

withSensitivityLabel

public SensitivityLabelUpdateInner withSensitivityLabel(SensitivityLabelInner sensitivityLabel)

Set the sensitivityLabel property: The sensitivity label information to apply on a column.

Parameters:

sensitivityLabel - the sensitivityLabel value to set.

Returns:

the SensitivityLabelUpdateInner object itself.

withTable

public SensitivityLabelUpdateInner withTable(String table)

Set the table property: Table name of the column to update.

Parameters:

table - the table value to set.

Returns:

the SensitivityLabelUpdateInner object itself.

Applies to