Class CustomImagePropertiesFromPlan

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.CustomImagePropertiesFromPlan

public final class CustomImagePropertiesFromPlan extends Object
Properties for plan on a custom image.
  • Constructor Details

    • CustomImagePropertiesFromPlan

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

    • id

      public String id()
      Get the id property: The id of the plan, equivalent to name of the plan.
      Returns:
      the id value.
    • withId

      Set the id property: The id of the plan, equivalent to name of the plan.
      Parameters:
      id - the id value to set.
      Returns:
      the CustomImagePropertiesFromPlan object itself.
    • publisher

      public String publisher()
      Get the publisher property: The publisher for the plan from the marketplace image the custom image is derived from.
      Returns:
      the publisher value.
    • withPublisher

      public CustomImagePropertiesFromPlan withPublisher(String publisher)
      Set the publisher property: The publisher for the plan from the marketplace image the custom image is derived from.
      Parameters:
      publisher - the publisher value to set.
      Returns:
      the CustomImagePropertiesFromPlan object itself.
    • offer

      public String offer()
      Get the offer property: The offer for the plan from the marketplace image the custom image is derived from.
      Returns:
      the offer value.
    • withOffer

      public CustomImagePropertiesFromPlan withOffer(String offer)
      Set the offer property: The offer for the plan from the marketplace image the custom image is derived from.
      Parameters:
      offer - the offer value to set.
      Returns:
      the CustomImagePropertiesFromPlan object itself.
    • validate

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