Class SensitivityLabelInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.SensitivityLabelInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class SensitivityLabelInner
extends com.azure.core.management.ProxyResource
A sensitivity label.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the columnName property: The column name.static SensitivityLabelInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SensitivityLabelInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.Get the informationType property: The information type.Get the informationTypeId property: The information type ID.Get the isDisabled property: Is sensitivity recommendation disabled.labelId()Get the labelId property: The label ID.Get the labelName property: The label name.Get the managedBy property: Resource that manages the sensitivity label.name()Get the name property: The name of the resource.rank()Get the rank property: The rank property.Get the schemaName property: The schema name.Get the tableName property: The table name.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withInformationType(String informationType) Set the informationType property: The information type.withInformationTypeId(String informationTypeId) Set the informationTypeId property: The information type ID.withLabelId(String labelId) Set the labelId property: The label ID.withLabelName(String labelName) Set the labelName property: The label name.withRank(SensitivityLabelRank rank) Set the rank property: The rank property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SensitivityLabelInner
public SensitivityLabelInner()Creates an instance of SensitivityLabelInner class.
-
-
Method Details
-
managedBy
Get the managedBy property: Resource that manages the sensitivity label.- Returns:
- the managedBy value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
schemaName
Get the schemaName property: The schema name.- Returns:
- the schemaName value.
-
tableName
Get the tableName property: The table name.- Returns:
- the tableName value.
-
columnName
Get the columnName property: The column name.- Returns:
- the columnName value.
-
labelName
Get the labelName property: The label name.- Returns:
- the labelName value.
-
withLabelName
Set the labelName property: The label name.- Parameters:
labelName- the labelName value to set.- Returns:
- the SensitivityLabelInner object itself.
-
labelId
Get the labelId property: The label ID.- Returns:
- the labelId value.
-
withLabelId
Set the labelId property: The label ID.- Parameters:
labelId- the labelId value to set.- Returns:
- the SensitivityLabelInner object itself.
-
informationType
Get the informationType property: The information type.- Returns:
- the informationType value.
-
withInformationType
Set the informationType property: The information type.- Parameters:
informationType- the informationType value to set.- Returns:
- the SensitivityLabelInner object itself.
-
informationTypeId
Get the informationTypeId property: The information type ID.- Returns:
- the informationTypeId value.
-
withInformationTypeId
Set the informationTypeId property: The information type ID.- Parameters:
informationTypeId- the informationTypeId value to set.- Returns:
- the SensitivityLabelInner object itself.
-
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.
-
rank
Get the rank property: The rank property.- Returns:
- the rank value.
-
withRank
Set the rank property: The rank property.- Parameters:
rank- the rank value to set.- Returns:
- the SensitivityLabelInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
public static SensitivityLabelInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SensitivityLabelInner.
-