UpdateSensitivitySettingsRequest Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. UpdateSensitivitySettingsRequest
- com.
Implements
public final class UpdateSensitivitySettingsRequest
implements JsonSerializable<UpdateSensitivitySettingsRequest>
Request to update data sensitivity settings for sensitive data discovery.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateSensitivitySettingsRequest() |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Update |
fromJson(JsonReader jsonReader)
Reads an instance of Update |
| List<String> |
sensitiveInfoTypesIds()
Get the sensitive |
| String |
sensitivityThresholdLabelId()
Get the sensitivity |
| Float |
sensitivityThresholdLabelOrder()
Get the sensitivity |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Update |
withSensitiveInfoTypesIds(List<String> sensitiveInfoTypesIds)
Set the sensitive |
|
Update |
withSensitivityThresholdLabelId(String sensitivityThresholdLabelId)
Set the sensitivity |
|
Update |
withSensitivityThresholdLabelOrder(Float sensitivityThresholdLabelOrder)
Set the sensitivity |
Methods inherited from java.lang.Object
Constructor Details
UpdateSensitivitySettingsRequest
public UpdateSensitivitySettingsRequest()
Creates an instance of UpdateSensitivitySettingsRequest class.
Method Details
fromJson
public static UpdateSensitivitySettingsRequest fromJson(JsonReader jsonReader)
Reads an instance of UpdateSensitivitySettingsRequest from the JsonReader.
Parameters:
Returns:
Throws:
sensitiveInfoTypesIds
public List<String> sensitiveInfoTypesIds()
Get the sensitiveInfoTypesIds property: List of selected sensitive info types' IDs.
Returns:
sensitivityThresholdLabelId
public String sensitivityThresholdLabelId()
Get the sensitivityThresholdLabelId property: The id of the sensitivity threshold label. Any label at or above this rank will be considered sensitive.
Returns:
sensitivityThresholdLabelOrder
public Float sensitivityThresholdLabelOrder()
Get the sensitivityThresholdLabelOrder property: The order of the sensitivity threshold label. Any label at or above this order will be considered sensitive. If set to -1, sensitivity by labels is turned off.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSensitiveInfoTypesIds
public UpdateSensitivitySettingsRequest withSensitiveInfoTypesIds(List<String> sensitiveInfoTypesIds)
Set the sensitiveInfoTypesIds property: List of selected sensitive info types' IDs.
Parameters:
Returns:
withSensitivityThresholdLabelId
public UpdateSensitivitySettingsRequest withSensitivityThresholdLabelId(String sensitivityThresholdLabelId)
Set the sensitivityThresholdLabelId property: The id of the sensitivity threshold label. Any label at or above this rank will be considered sensitive.
Parameters:
Returns:
withSensitivityThresholdLabelOrder
public UpdateSensitivitySettingsRequest withSensitivityThresholdLabelOrder(Float sensitivityThresholdLabelOrder)
Set the sensitivityThresholdLabelOrder property: The order of the sensitivity threshold label. Any label at or above this order will be considered sensitive. If set to -1, sensitivity by labels is turned off.
Parameters:
Returns: