public class ProtocolCustomSettingsFormat extends Object
| Constructor and Description |
|---|
ProtocolCustomSettingsFormat() |
| Modifier and Type | Method and Description |
|---|---|
DdosCustomPolicyProtocol |
protocol()
Get the protocol for which the DDoS protection policy is being customized.
|
String |
sourceRateOverride()
Get the customized DDoS protection source rate.
|
String |
triggerRateOverride()
Get the customized DDoS protection trigger rate.
|
DdosCustomPolicyTriggerSensitivityOverride |
triggerSensitivityOverride()
Get the customized DDoS protection trigger rate sensitivity degrees.
|
ProtocolCustomSettingsFormat |
withProtocol(DdosCustomPolicyProtocol protocol)
Set the protocol for which the DDoS protection policy is being customized.
|
ProtocolCustomSettingsFormat |
withSourceRateOverride(String sourceRateOverride)
Set the customized DDoS protection source rate.
|
ProtocolCustomSettingsFormat |
withTriggerRateOverride(String triggerRateOverride)
Set the customized DDoS protection trigger rate.
|
ProtocolCustomSettingsFormat |
withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)
Set the customized DDoS protection trigger rate sensitivity degrees.
|
public DdosCustomPolicyProtocol protocol()
public ProtocolCustomSettingsFormat withProtocol(DdosCustomPolicyProtocol protocol)
protocol - the protocol value to setpublic String triggerRateOverride()
public ProtocolCustomSettingsFormat withTriggerRateOverride(String triggerRateOverride)
triggerRateOverride - the triggerRateOverride value to setpublic String sourceRateOverride()
public ProtocolCustomSettingsFormat withSourceRateOverride(String sourceRateOverride)
sourceRateOverride - the sourceRateOverride value to setpublic DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride()
public ProtocolCustomSettingsFormat withTriggerSensitivityOverride(DdosCustomPolicyTriggerSensitivityOverride triggerSensitivityOverride)
triggerSensitivityOverride - the triggerSensitivityOverride value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/