DdosSettings Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. DdosSettings
- com.
public final class DdosSettings
Contains the DDoS protection settings of the public IP.
Constructor Summary
Constructor | Description |
---|---|
DdosSettings() |
Creates an instance of Ddos |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sub |
ddosProtectionPlan()
Get the ddos |
Ddos |
protectionMode()
Get the protection |
void |
validate()
Validates the instance. |
Ddos |
withDdosProtectionPlan(SubResource ddosProtectionPlan)
Set the ddos |
Ddos |
withProtectionMode(DdosSettingsProtectionMode protectionMode)
Set the protection |
Methods inherited from java.lang.Object
Constructor Details
DdosSettings
public DdosSettings()
Creates an instance of DdosSettings class.
Method Details
ddosProtectionPlan
public SubResource ddosProtectionPlan()
Get the ddosProtectionPlan property: The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled.
Returns:
protectionMode
public DdosSettingsProtectionMode protectionMode()
Get the protectionMode property: The DDoS protection mode of the public IP.
Returns:
validate
public void validate()
Validates the instance.
withDdosProtectionPlan
public DdosSettings withDdosProtectionPlan(SubResource ddosProtectionPlan)
Set the ddosProtectionPlan property: The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled.
Parameters:
Returns:
withProtectionMode
public DdosSettings withProtectionMode(DdosSettingsProtectionMode protectionMode)
Set the protectionMode property: The DDoS protection mode of the public IP.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for