Class DdosSettings
java.lang.Object
com.azure.resourcemanager.network.models.DdosSettings
Contains the DDoS protection settings of the public IP.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.management.SubResourceGet the ddosCustomPolicy property: The DDoS custom policy associated with the public IP.Get the protectedIp property: Enables DDoS protection on the public IP.Get the protectionCoverage property: The DDoS protection policy customizability of the public IP.voidvalidate()Validates the instance.withDdosCustomPolicy(com.azure.core.management.SubResource ddosCustomPolicy) Set the ddosCustomPolicy property: The DDoS custom policy associated with the public IP.withProtectedIp(Boolean protectedIp) Set the protectedIp property: Enables DDoS protection on the public IP.withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage) Set the protectionCoverage property: The DDoS protection policy customizability of the public IP.
-
Constructor Details
-
DdosSettings
public DdosSettings()
-
-
Method Details
-
ddosCustomPolicy
public com.azure.core.management.SubResource ddosCustomPolicy()Get the ddosCustomPolicy property: The DDoS custom policy associated with the public IP.- Returns:
- the ddosCustomPolicy value.
-
withDdosCustomPolicy
Set the ddosCustomPolicy property: The DDoS custom policy associated with the public IP.- Parameters:
ddosCustomPolicy- the ddosCustomPolicy value to set.- Returns:
- the DdosSettings object itself.
-
protectionCoverage
Get the protectionCoverage property: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.- Returns:
- the protectionCoverage value.
-
withProtectionCoverage
Set the protectionCoverage property: The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.- Parameters:
protectionCoverage- the protectionCoverage value to set.- Returns:
- the DdosSettings object itself.
-
protectedIp
Get the protectedIp property: Enables DDoS protection on the public IP.- Returns:
- the protectedIp value.
-
withProtectedIp
Set the protectedIp property: Enables DDoS protection on the public IP.- Parameters:
protectedIp- the protectedIp value to set.- Returns:
- the DdosSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-