Class MigrationWebApplicationFirewallMapping
java.lang.Object
com.azure.resourcemanager.cdn.models.MigrationWebApplicationFirewallMapping
Web Application Firewall Mapping.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MigrationWebApplicationFirewallMapping class. -
Method Summary
Modifier and TypeMethodDescriptionGet the migratedFrom property: Migration From Waf policy.Get the migratedTo property: Migration to Waf policy.voidvalidate()Validates the instance.withMigratedFrom(ResourceReference migratedFrom) Set the migratedFrom property: Migration From Waf policy.withMigratedTo(ResourceReference migratedTo) Set the migratedTo property: Migration to Waf policy.
-
Constructor Details
-
MigrationWebApplicationFirewallMapping
public MigrationWebApplicationFirewallMapping()Creates an instance of MigrationWebApplicationFirewallMapping class.
-
-
Method Details
-
migratedFrom
Get the migratedFrom property: Migration From Waf policy.- Returns:
- the migratedFrom value.
-
withMigratedFrom
Set the migratedFrom property: Migration From Waf policy.- Parameters:
migratedFrom- the migratedFrom value to set.- Returns:
- the MigrationWebApplicationFirewallMapping object itself.
-
migratedTo
Get the migratedTo property: Migration to Waf policy.- Returns:
- the migratedTo value.
-
withMigratedTo
Set the migratedTo property: Migration to Waf policy.- Parameters:
migratedTo- the migratedTo value to set.- Returns:
- the MigrationWebApplicationFirewallMapping object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-