Class MigrateResultInner

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.MigrateResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<MigrateResultInner>

public final class MigrateResultInner extends Object implements com.azure.json.JsonSerializable<MigrateResultInner>
Result for migrate operation.
  • Constructor Details

    • MigrateResultInner

      public MigrateResultInner()
      Creates an instance of MigrateResultInner class.
  • Method Details

    • id

      public String id()
      Get the id property: Resource ID.
      Returns:
      the id value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • migratedProfileResourceId

      public ResourceReference migratedProfileResourceId()
      Get the migratedProfileResourceId property: Arm resource id of the migrated profile.
      Returns:
      the migratedProfileResourceId value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<MigrateResultInner>
      Throws:
      IOException
    • fromJson

      public static MigrateResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MigrateResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MigrateResultInner 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 MigrateResultInner.