public final class DdosSettings extends Object
| Constructor and Description |
|---|
DdosSettings() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.SubResource |
ddosCustomPolicy()
Get the ddosCustomPolicy property: The DDoS custom policy associated with the public IP.
|
Boolean |
protectedIp()
Get the protectedIp property: Enables DDoS protection on the public IP.
|
DdosSettingsProtectionCoverage |
protectionCoverage()
Get the protectionCoverage property: The DDoS protection policy customizability of the public IP.
|
void |
validate()
Validates the instance.
|
DdosSettings |
withDdosCustomPolicy(com.azure.core.management.SubResource ddosCustomPolicy)
Set the ddosCustomPolicy property: The DDoS custom policy associated with the public IP.
|
DdosSettings |
withProtectedIp(Boolean protectedIp)
Set the protectedIp property: Enables DDoS protection on the public IP.
|
DdosSettings |
withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage)
Set the protectionCoverage property: The DDoS protection policy customizability of the public IP.
|
public com.azure.core.management.SubResource ddosCustomPolicy()
public DdosSettings withDdosCustomPolicy(com.azure.core.management.SubResource ddosCustomPolicy)
ddosCustomPolicy - the ddosCustomPolicy value to set.public DdosSettingsProtectionCoverage protectionCoverage()
public DdosSettings withProtectionCoverage(DdosSettingsProtectionCoverage protectionCoverage)
protectionCoverage - the protectionCoverage value to set.public Boolean protectedIp()
public DdosSettings withProtectedIp(Boolean protectedIp)
protectedIp - the protectedIp value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.