Interface SensitivityLabel


public interface SensitivityLabel
An immutable client-side representation of SensitivityLabel.
  • Method Details

    • 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

      Gets the rank property: The rank property.
      Returns:
      the rank value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      SensitivityLabelInner innerModel()
      Gets the inner com.azure.resourcemanager.synapse.fluent.models.SensitivityLabelInner object.
      Returns:
      the inner object.
    • update

      Begins update for the SensitivityLabel resource.
      Returns:
      the stage of resource update.
    • 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.
    • 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.
    • 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.
    • 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.