Interface SensitivityLabel
-
public interface SensitivityLabel
An immutable client-side representation of SensitivityLabel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SensitivityLabel.Definition
The entirety of the SensitivityLabel definition.static interface
SensitivityLabel.DefinitionStages
The SensitivityLabel definition stages.static interface
SensitivityLabel.Update
The template for SensitivityLabel update.static interface
SensitivityLabel.UpdateStages
The SensitivityLabel update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
columnName()
Gets the columnName property: The column name.void
disableRecommendation()
Disables sensitivity recommendations on a given column.com.azure.core.http.rest.Response<Void>
disableRecommendationWithResponse(com.azure.core.util.Context context)
Disables sensitivity recommendations on a given column.void
enableRecommendation()
Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).com.azure.core.http.rest.Response<Void>
enableRecommendationWithResponse(com.azure.core.util.Context context)
Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).String
id()
Gets the id property: Fully qualified resource Id for the resource.String
informationType()
Gets the informationType property: The information type.String
informationTypeId()
Gets the informationTypeId property: The information type ID.SensitivityLabelInner
innerModel()
Gets the inner com.azure.resourcemanager.synapse.fluent.models.SensitivityLabelInner object.Boolean
isDisabled()
Gets the isDisabled property: Is sensitivity recommendation disabled.String
labelId()
Gets the labelId property: The label ID.String
labelName()
Gets the labelName property: The label name.String
managedBy()
Gets the managedBy property: managed by.String
name()
Gets the name property: The name of the resource.SensitivityLabelRank
rank()
Gets the rank property: The rank property.String
schemaName()
Gets the schemaName property: The schema name.String
tableName()
Gets the tableName property: The table name.String
type()
Gets the type property: The type of the resource.SensitivityLabel.Update
update()
Begins update for the SensitivityLabel resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
managedBy
String managedBy()
Gets the managedBy property: managed by.- Returns:
- the managedBy value.
-
schemaName
String schemaName()
Gets the schemaName property: The schema name.- Returns:
- the schemaName value.
-
tableName
String tableName()
Gets the tableName property: The table name.- Returns:
- the tableName value.
-
columnName
String columnName()
Gets the columnName property: The column name.- Returns:
- the columnName value.
-
labelName
String labelName()
Gets the labelName property: The label name.- Returns:
- the labelName value.
-
labelId
String labelId()
Gets the labelId property: The label ID.- Returns:
- the labelId value.
-
informationType
String informationType()
Gets the informationType property: The information type.- Returns:
- the informationType value.
-
informationTypeId
String informationTypeId()
Gets the informationTypeId property: The information type ID.- Returns:
- the informationTypeId value.
-
isDisabled
Boolean isDisabled()
Gets 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
SensitivityLabelRank rank()
Gets the rank property: The rank property.- Returns:
- the rank value.
-
innerModel
SensitivityLabelInner innerModel()
Gets the inner com.azure.resourcemanager.synapse.fluent.models.SensitivityLabelInner object.- Returns:
- the inner object.
-
update
SensitivityLabel.Update update()
Begins update for the SensitivityLabel resource.- Returns:
- the stage of resource update.
-
enableRecommendation
void enableRecommendation()
Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
enableRecommendationWithResponse
com.azure.core.http.rest.Response<Void> enableRecommendationWithResponse(com.azure.core.util.Context context)
Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns).- Parameters:
context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
disableRecommendation
void disableRecommendation()
Disables sensitivity recommendations on a given column.- Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
disableRecommendationWithResponse
com.azure.core.http.rest.Response<Void> disableRecommendationWithResponse(com.azure.core.util.Context context)
Disables sensitivity recommendations on a given column.- Parameters:
context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-