Del via


SensitivityLabelUpdatePropertiesInner Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.SensitivityLabelUpdatePropertiesInner

Implements

public final class SensitivityLabelUpdatePropertiesInner
implements JsonSerializable<SensitivityLabelUpdatePropertiesInner>

Properties of an operation executed on a sensitivity label.

Constructor Summary

Constructor Description
SensitivityLabelUpdatePropertiesInner()

Creates an instance of SensitivityLabelUpdatePropertiesInner class.

Method Summary

Modifier and Type Method and Description
String column()

Get the column property: Column name to update.

static SensitivityLabelUpdatePropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelUpdatePropertiesInner from the JsonReader.

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)
void validate()

Validates the instance.

SensitivityLabelUpdatePropertiesInner withColumn(String column)

Set the column property: Column name to update.

SensitivityLabelUpdatePropertiesInner withOp(SensitivityLabelUpdateKind op)

Set the op property: The op property.

SensitivityLabelUpdatePropertiesInner withSchema(String schema)

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

SensitivityLabelUpdatePropertiesInner withSensitivityLabel(SensitivityLabelInner sensitivityLabel)

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

SensitivityLabelUpdatePropertiesInner withTable(String table)

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

Methods inherited from java.lang.Object

Constructor Details

SensitivityLabelUpdatePropertiesInner

public SensitivityLabelUpdatePropertiesInner()

Creates an instance of SensitivityLabelUpdatePropertiesInner class.

Method Details

column

public String column()

Get the column property: Column name to update.

Returns:

the column value.

fromJson

public static SensitivityLabelUpdatePropertiesInner fromJson(JsonReader jsonReader)

Reads an instance of SensitivityLabelUpdatePropertiesInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SensitivityLabelUpdatePropertiesInner 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.

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)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withColumn

public SensitivityLabelUpdatePropertiesInner withColumn(String column)

Set the column property: Column name to update.

Parameters:

column - the column value to set.

Returns:

the SensitivityLabelUpdatePropertiesInner object itself.

withOp

public SensitivityLabelUpdatePropertiesInner withOp(SensitivityLabelUpdateKind op)

Set the op property: The op property.

Parameters:

op - the op value to set.

Returns:

the SensitivityLabelUpdatePropertiesInner object itself.

withSchema

public SensitivityLabelUpdatePropertiesInner withSchema(String schema)

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

Parameters:

schema - the schema value to set.

Returns:

the SensitivityLabelUpdatePropertiesInner object itself.

withSensitivityLabel

public SensitivityLabelUpdatePropertiesInner 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 SensitivityLabelUpdatePropertiesInner object itself.

withTable

public SensitivityLabelUpdatePropertiesInner withTable(String table)

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

Parameters:

table - the table value to set.

Returns:

the SensitivityLabelUpdatePropertiesInner object itself.

Applies to