OnUploadProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. OnUploadProperties
- com.
Implements
public final class OnUploadProperties
implements JsonSerializable<OnUploadProperties>
Properties of On Upload malware scanning.
Constructor Summary
| Constructor | Description |
|---|---|
| OnUploadProperties() |
Creates an instance of On |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
capGBPerMonth()
Get the cap |
|
On |
filters()
Get the filters property: Optional. |
|
static
On |
fromJson(JsonReader jsonReader)
Reads an instance of On |
| Boolean |
isEnabled()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
On |
withCapGBPerMonth(Integer capGBPerMonth)
Set the cap |
|
On |
withFilters(OnUploadFilters filters)
Set the filters property: Optional. |
|
On |
withIsEnabled(Boolean isEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
OnUploadProperties
public OnUploadProperties()
Creates an instance of OnUploadProperties class.
Method Details
capGBPerMonth
public Integer capGBPerMonth()
Get the capGBPerMonth property: Defines the max GB to be scanned per Month. Set to -1 if no capping is needed. If not specified, the default value is -1.
Returns:
filters
public OnUploadFilters filters()
Get the filters property: Optional. Determine which blobs get scanned by On Upload malware scanning. An Or operation is performed between each filter type.
Returns:
fromJson
public static OnUploadProperties fromJson(JsonReader jsonReader)
Reads an instance of OnUploadProperties from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Indicates whether On Upload malware scanning should be enabled.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapGBPerMonth
public OnUploadProperties withCapGBPerMonth(Integer capGBPerMonth)
Set the capGBPerMonth property: Defines the max GB to be scanned per Month. Set to -1 if no capping is needed. If not specified, the default value is -1.
Parameters:
Returns:
withFilters
public OnUploadProperties withFilters(OnUploadFilters filters)
Set the filters property: Optional. Determine which blobs get scanned by On Upload malware scanning. An Or operation is performed between each filter type.
Parameters:
Returns:
withIsEnabled
public OnUploadProperties withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Indicates whether On Upload malware scanning should be enabled.
Parameters:
Returns: