Class VulnerabilityAssessmentRecurringScansProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.VulnerabilityAssessmentRecurringScansProperties
-
public final class VulnerabilityAssessmentRecurringScansProperties extends Object
Properties of a Vulnerability Assessment recurring scans.
-
-
Constructor Summary
Constructors Constructor Description VulnerabilityAssessmentRecurringScansProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
emails()
Get the emails property: Specifies an array of e-mail addresses to which the scan notification is sent.Boolean
emailSubscriptionAdmins()
Get the emailSubscriptionAdmins property: Specifies that the schedule scan notification will be is sent to the subscription administrators.Boolean
isEnabled()
Get the isEnabled property: Recurring scans state.void
validate()
Validates the instance.VulnerabilityAssessmentRecurringScansProperties
withEmails(List<String> emails)
Set the emails property: Specifies an array of e-mail addresses to which the scan notification is sent.VulnerabilityAssessmentRecurringScansProperties
withEmailSubscriptionAdmins(Boolean emailSubscriptionAdmins)
Set the emailSubscriptionAdmins property: Specifies that the schedule scan notification will be is sent to the subscription administrators.VulnerabilityAssessmentRecurringScansProperties
withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Recurring scans state.
-
-
-
Method Detail
-
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Recurring scans state.- Returns:
- the isEnabled value.
-
withIsEnabled
public VulnerabilityAssessmentRecurringScansProperties withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Recurring scans state.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the VulnerabilityAssessmentRecurringScansProperties object itself.
-
emailSubscriptionAdmins
public Boolean emailSubscriptionAdmins()
Get the emailSubscriptionAdmins property: Specifies that the schedule scan notification will be is sent to the subscription administrators.- Returns:
- the emailSubscriptionAdmins value.
-
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:
emailSubscriptionAdmins
- the emailSubscriptionAdmins value to set.- Returns:
- the VulnerabilityAssessmentRecurringScansProperties object itself.
-
emails
public List<String> emails()
Get the emails property: Specifies an array of e-mail addresses to which the scan notification is sent.- Returns:
- the emails value.
-
withEmails
public VulnerabilityAssessmentRecurringScansProperties withEmails(List<String> emails)
Set the emails property: Specifies an array of e-mail addresses to which the scan notification is sent.- Parameters:
emails
- the emails value to set.- Returns:
- the VulnerabilityAssessmentRecurringScansProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-