Class CanMigrateParameters
java.lang.Object
com.azure.resourcemanager.cdn.models.CanMigrateParameters
Request body for CanMigrate operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the classicResourceReference property: Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.voidvalidate()Validates the instance.withClassicResourceReference(ResourceReference classicResourceReference) Set the classicResourceReference property: Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.
-
Constructor Details
-
CanMigrateParameters
public CanMigrateParameters()Creates an instance of CanMigrateParameters class.
-
-
Method Details
-
classicResourceReference
Get the classicResourceReference property: Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.- Returns:
- the classicResourceReference value.
-
withClassicResourceReference
public CanMigrateParameters withClassicResourceReference(ResourceReference classicResourceReference) Set the classicResourceReference property: Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.- Parameters:
classicResourceReference- the classicResourceReference value to set.- Returns:
- the CanMigrateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-