DdosFrontendIpConfigurationSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.DdosFrontendIpConfigurationSettings

Implements

public final class DdosFrontendIpConfigurationSettings
implements JsonSerializable<DdosFrontendIpConfigurationSettings>

DDoS protection settings for a frontend IP configuration.

Constructor Summary

Constructor Description
DdosFrontendIpConfigurationSettings()

Creates an instance of DdosFrontendIpConfigurationSettings class.

Method Summary

Modifier and Type Method and Description
SubResource ddosCustomPolicy()

Get the ddosCustomPolicy property: The reference to the DDoS Custom Policy resource.

static DdosFrontendIpConfigurationSettings fromJson(JsonReader jsonReader)

Reads an instance of DdosFrontendIpConfigurationSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DdosFrontendIpConfigurationSettings withDdosCustomPolicy(SubResource ddosCustomPolicy)

Set the ddosCustomPolicy property: The reference to the DDoS Custom Policy resource.

Methods inherited from java.lang.Object

Constructor Details

DdosFrontendIpConfigurationSettings

public DdosFrontendIpConfigurationSettings()

Creates an instance of DdosFrontendIpConfigurationSettings class.

Method Details

ddosCustomPolicy

public SubResource ddosCustomPolicy()

Get the ddosCustomPolicy property: The reference to the DDoS Custom Policy resource.

Returns:

the ddosCustomPolicy value.

fromJson

public static DdosFrontendIpConfigurationSettings fromJson(JsonReader jsonReader)

Reads an instance of DdosFrontendIpConfigurationSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DdosFrontendIpConfigurationSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DdosFrontendIpConfigurationSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDdosCustomPolicy

public DdosFrontendIpConfigurationSettings withDdosCustomPolicy(SubResource ddosCustomPolicy)

Set the ddosCustomPolicy property: The reference to the DDoS Custom Policy resource.

Parameters:

ddosCustomPolicy - the ddosCustomPolicy value to set.

Returns:

the DdosFrontendIpConfigurationSettings object itself.

Applies to