MalwareScanningProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. MalwareScanningProperties
- com.
Implements
public final class MalwareScanningProperties
implements JsonSerializable<MalwareScanningProperties>
Properties of Malware Scanning.
Constructor Summary
| Constructor | Description |
|---|---|
| MalwareScanningProperties() |
Creates an instance of Malware |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Automated |
automatedResponse()
Get the automated |
|
Blob |
blobScanResultsOptions()
Get the blob |
|
static
Malware |
fromJson(JsonReader jsonReader)
Reads an instance of Malware |
|
On |
onUpload()
Get the on |
|
Operation |
operationStatus()
Get the operation |
| String |
scanResultsEventGridTopicResourceId()
Get the scan |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Malware |
withAutomatedResponse(AutomatedResponseType automatedResponse)
Set the automated |
|
Malware |
withBlobScanResultsOptions(BlobScanResultsOptions blobScanResultsOptions)
Set the blob |
|
Malware |
withOnUpload(OnUploadProperties onUpload)
Set the on |
|
Malware |
withScanResultsEventGridTopicResourceId(String scanResultsEventGridTopicResourceId)
Set the scan |
Methods inherited from java.lang.Object
Constructor Details
MalwareScanningProperties
public MalwareScanningProperties()
Creates an instance of MalwareScanningProperties class.
Method Details
automatedResponse
public AutomatedResponseType automatedResponse()
Get the automatedResponse property: Optional. Specifies the automated response action to take when malware is detected.
Returns:
blobScanResultsOptions
public BlobScanResultsOptions blobScanResultsOptions()
Get the blobScanResultsOptions property: Optional. Write scan result on BlobIndexTags by default.
Returns:
fromJson
public static MalwareScanningProperties fromJson(JsonReader jsonReader)
Reads an instance of MalwareScanningProperties from the JsonReader.
Parameters:
Returns:
Throws:
onUpload
public OnUploadProperties onUpload()
Get the onUpload property: Properties of On Upload malware scanning.
Returns:
operationStatus
public OperationStatus operationStatus()
Get the operationStatus property: Upon failure or partial success. Additional data describing Malware Scanning enable/disable operation.
Returns:
scanResultsEventGridTopicResourceId
public String scanResultsEventGridTopicResourceId()
Get the scanResultsEventGridTopicResourceId property: Optional. Resource id of an Event Grid Topic to send scan results to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutomatedResponse
public MalwareScanningProperties withAutomatedResponse(AutomatedResponseType automatedResponse)
Set the automatedResponse property: Optional. Specifies the automated response action to take when malware is detected.
Parameters:
Returns:
withBlobScanResultsOptions
public MalwareScanningProperties withBlobScanResultsOptions(BlobScanResultsOptions blobScanResultsOptions)
Set the blobScanResultsOptions property: Optional. Write scan result on BlobIndexTags by default.
Parameters:
Returns:
withOnUpload
public MalwareScanningProperties withOnUpload(OnUploadProperties onUpload)
Set the onUpload property: Properties of On Upload malware scanning.
Parameters:
Returns:
withScanResultsEventGridTopicResourceId
public MalwareScanningProperties withScanResultsEventGridTopicResourceId(String scanResultsEventGridTopicResourceId)
Set the scanResultsEventGridTopicResourceId property: Optional. Resource id of an Event Grid Topic to send scan results to.
Parameters:
Returns: