java.lang.Object
com.azure.resourcemanager.containerservice.models.CreationData

public final class CreationData extends Object
Data used when creating a target resource from a source resource.
  • Constructor Details

    • CreationData

      public CreationData()
  • Method Details

    • sourceResourceId

      public String sourceResourceId()
      Get the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.
      Returns:
      the sourceResourceId value.
    • withSourceResourceId

      public CreationData withSourceResourceId(String sourceResourceId)
      Set the sourceResourceId property: This is the ARM ID of the source object to be used to create the target object.
      Parameters:
      sourceResourceId - the sourceResourceId value to set.
      Returns:
      the CreationData object itself.
    • validate

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