Share via


RecommendedSensitivityLabelUpdateProperties Class

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

Implements

public final class RecommendedSensitivityLabelUpdateProperties
implements JsonSerializable<RecommendedSensitivityLabelUpdateProperties>

Properties of an operation executed on a recommended sensitivity label.

Constructor Summary

Constructor Description
RecommendedSensitivityLabelUpdateProperties()

Creates an instance of RecommendedSensitivityLabelUpdateProperties class.

Method Summary

Modifier and Type Method and Description
String column()

Get the column property: Column name to update.

static RecommendedSensitivityLabelUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of RecommendedSensitivityLabelUpdateProperties from the JsonReader.

RecommendedSensitivityLabelUpdateKind op()

Get the op property: The op property.

String schema()

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

String table()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RecommendedSensitivityLabelUpdateProperties withColumn(String column)

Set the column property: Column name to update.

RecommendedSensitivityLabelUpdateProperties withOp(RecommendedSensitivityLabelUpdateKind op)

Set the op property: The op property.

RecommendedSensitivityLabelUpdateProperties withSchema(String schema)

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

RecommendedSensitivityLabelUpdateProperties withTable(String table)

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

Methods inherited from java.lang.Object

Constructor Details

RecommendedSensitivityLabelUpdateProperties

public RecommendedSensitivityLabelUpdateProperties()

Creates an instance of RecommendedSensitivityLabelUpdateProperties class.

Method Details

column

public String column()

Get the column property: Column name to update.

Returns:

the column value.

fromJson

public static RecommendedSensitivityLabelUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of RecommendedSensitivityLabelUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 RecommendedSensitivityLabelUpdateProperties withColumn(String column)

Set the column property: Column name to update.

Parameters:

column - the column value to set.

Returns:

the RecommendedSensitivityLabelUpdateProperties object itself.

withOp

public RecommendedSensitivityLabelUpdateProperties withOp(RecommendedSensitivityLabelUpdateKind op)

Set the op property: The op property.

Parameters:

op - the op value to set.

Returns:

the RecommendedSensitivityLabelUpdateProperties object itself.

withSchema

public RecommendedSensitivityLabelUpdateProperties withSchema(String schema)

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

Parameters:

schema - the schema value to set.

Returns:

the RecommendedSensitivityLabelUpdateProperties object itself.

withTable

public RecommendedSensitivityLabelUpdateProperties withTable(String table)

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

Parameters:

table - the table value to set.

Returns:

the RecommendedSensitivityLabelUpdateProperties object itself.

Applies to