Class CanMigrateResultInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.CanMigrateResultInner
Result for canMigrate operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the canMigrate property: Flag that says if the profile can be migrated.Get the defaultSku property: Recommended sku for the migration.errors()Get the errors property: The errors property.id()Get the id property: Resource ID.type()Get the type property: Resource type.voidvalidate()Validates the instance.withErrors(List<MigrationErrorType> errors) Set the errors property: The errors property.
-
Constructor Details
-
CanMigrateResultInner
public CanMigrateResultInner()Creates an instance of CanMigrateResultInner class.
-
-
Method Details
-
id
Get the id property: Resource ID.- Returns:
- the id value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
canMigrate
Get the canMigrate property: Flag that says if the profile can be migrated.- Returns:
- the canMigrate value.
-
defaultSku
Get the defaultSku property: Recommended sku for the migration.- Returns:
- the defaultSku value.
-
errors
Get the errors property: The errors property.- Returns:
- the errors value.
-
withErrors
Set the errors property: The errors property.- Parameters:
errors- the errors value to set.- Returns:
- the CanMigrateResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-