Class SensitivityLabelProperties


  • public final class SensitivityLabelProperties
    extends Object
    Properties of a sensitivity label.
    • Constructor Detail

      • SensitivityLabelProperties

        public SensitivityLabelProperties()
    • Method Detail

      • schemaName

        public String schemaName()
        Get the schemaName property: The schema name.
        Returns:
        the schemaName value.
      • tableName

        public String tableName()
        Get the tableName property: The table name.
        Returns:
        the tableName value.
      • columnName

        public String columnName()
        Get the columnName property: The column name.
        Returns:
        the columnName value.
      • labelName

        public String labelName()
        Get the labelName property: The label name.
        Returns:
        the labelName value.
      • withLabelName

        public SensitivityLabelProperties withLabelName​(String labelName)
        Set the labelName property: The label name.
        Parameters:
        labelName - the labelName value to set.
        Returns:
        the SensitivityLabelProperties object itself.
      • labelId

        public String labelId()
        Get the labelId property: The label ID.
        Returns:
        the labelId value.
      • withLabelId

        public SensitivityLabelProperties withLabelId​(String labelId)
        Set the labelId property: The label ID.
        Parameters:
        labelId - the labelId value to set.
        Returns:
        the SensitivityLabelProperties object itself.
      • informationType

        public String informationType()
        Get the informationType property: The information type.
        Returns:
        the informationType value.
      • withInformationType

        public SensitivityLabelProperties withInformationType​(String informationType)
        Set the informationType property: The information type.
        Parameters:
        informationType - the informationType value to set.
        Returns:
        the SensitivityLabelProperties object itself.
      • informationTypeId

        public String informationTypeId()
        Get the informationTypeId property: The information type ID.
        Returns:
        the informationTypeId value.
      • withInformationTypeId

        public SensitivityLabelProperties withInformationTypeId​(String informationTypeId)
        Set the informationTypeId property: The information type ID.
        Parameters:
        informationTypeId - the informationTypeId value to set.
        Returns:
        the SensitivityLabelProperties object itself.
      • 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:
        the isDisabled value.
      • rank

        public SensitivityLabelRank rank()
        Get the rank property: The rank property.
        Returns:
        the rank value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.