VulnerabilityAssessmentRecurringScansProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. VulnerabilityAssessmentRecurringScansProperties
- com.
Implements
public final class VulnerabilityAssessmentRecurringScansProperties
implements JsonSerializable<VulnerabilityAssessmentRecurringScansProperties>
Properties of a Vulnerability Assessment recurring scans.
Constructor Summary
Constructor | Description |
---|---|
VulnerabilityAssessmentRecurringScansProperties() |
Creates an instance of Vulnerability |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
emailSubscriptionAdmins()
Get the email |
List<String> |
emails()
Get the emails property: Specifies an array of e-mail addresses to which the scan notification is sent. |
static
Vulnerability |
fromJson(JsonReader jsonReader)
Reads an instance of Vulnerability |
Boolean |
isEnabled()
Get the is |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vulnerability |
withEmailSubscriptionAdmins(Boolean emailSubscriptionAdmins)
Set the email |
Vulnerability |
withEmails(List<String> emails)
Set the emails property: Specifies an array of e-mail addresses to which the scan notification is sent. |
Vulnerability |
withIsEnabled(Boolean isEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
VulnerabilityAssessmentRecurringScansProperties
public VulnerabilityAssessmentRecurringScansProperties()
Creates an instance of VulnerabilityAssessmentRecurringScansProperties class.
Method Details
emailSubscriptionAdmins
public Boolean emailSubscriptionAdmins()
Get the emailSubscriptionAdmins property: Specifies that the schedule scan notification will be is sent to the subscription administrators.
Returns:
emails
public List
Get the emails property: Specifies an array of e-mail addresses to which the scan notification is sent.
Returns:
fromJson
public static VulnerabilityAssessmentRecurringScansProperties fromJson(JsonReader jsonReader)
Reads an instance of VulnerabilityAssessmentRecurringScansProperties from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Recurring scans state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEmailSubscriptionAdmins
public VulnerabilityAssessmentRecurringScansProperties withEmailSubscriptionAdmins(Boolean emailSubscriptionAdmins)
Set the emailSubscriptionAdmins property: Specifies that the schedule scan notification will be is sent to the subscription administrators.
Parameters:
Returns:
withEmails
public VulnerabilityAssessmentRecurringScansProperties withEmails(List
Set the emails property: Specifies an array of e-mail addresses to which the scan notification is sent.
Parameters:
Returns:
withIsEnabled
public VulnerabilityAssessmentRecurringScansProperties withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Recurring scans state.
Parameters:
Returns:
Applies to
Azure SDK for Java