SensitivityLabelInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. SensitivityLabelInner
- com.
- com.
public final class SensitivityLabelInner
extends ProxyResource
A sensitivity label.
Constructor Summary
Constructor | Description |
---|---|
SensitivityLabelInner() |
Creates an instance of Sensitivity |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
columnName()
Get the column |
static
Sensitivity |
fromJson(JsonReader jsonReader)
Reads an instance of Sensitivity |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
informationType()
Get the information |
String |
informationTypeId()
Get the information |
Boolean |
isDisabled()
Get the is |
String |
labelId()
Get the label |
String |
labelName()
Get the label |
String |
managedBy()
Get the managed |
String |
name()
Get the name property: The name of the resource. |
Sensitivity |
rank()
Get the rank property: The rank property. |
String |
schemaName()
Get the schema |
String |
tableName()
Get the table |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Sensitivity |
withInformationType(String informationType)
Set the information |
Sensitivity |
withInformationTypeId(String informationTypeId)
Set the information |
Sensitivity |
withLabelId(String labelId)
Set the label |
Sensitivity |
withLabelName(String labelName)
Set the label |
Sensitivity |
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:
fromJson
public static SensitivityLabelInner fromJson(JsonReader jsonReader)
Reads an instance of SensitivityLabelInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SensitivityLabelInner.id()Returns:
informationType
public String informationType()
Get the informationType property: The information type.
Returns:
informationTypeId
public String informationTypeId()
Get the informationTypeId property: The information type ID.
Returns:
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:
labelId
public String labelId()
Get the labelId property: The label ID.
Returns:
labelName
public String labelName()
Get the labelName property: The label name.
Returns:
managedBy
public String managedBy()
Get the managedBy property: Resource that manages the sensitivity label.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SensitivityLabelInner.name()Returns:
rank
public SensitivityLabelRank rank()
Get the rank property: The rank property.
Returns:
schemaName
public String schemaName()
Get the schemaName property: The schema name.
Returns:
tableName
public String tableName()
Get the tableName property: The table name.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SensitivityLabelInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SensitivityLabelInner.type()Returns:
validate
public void validate()
Validates the instance.
withInformationType
public SensitivityLabelInner withInformationType(String informationType)
Set the informationType property: The information type.
Parameters:
Returns:
withInformationTypeId
public SensitivityLabelInner withInformationTypeId(String informationTypeId)
Set the informationTypeId property: The information type ID.
Parameters:
Returns:
withLabelId
public SensitivityLabelInner withLabelId(String labelId)
Set the labelId property: The label ID.
Parameters:
Returns:
withLabelName
public SensitivityLabelInner withLabelName(String labelName)
Set the labelName property: The label name.
Parameters:
Returns:
withRank
public SensitivityLabelInner withRank(SensitivityLabelRank rank)
Set the rank property: The rank property.
Parameters:
Returns:
Applies to
Azure SDK for Java