GenericResource.UpdateStages.WithPlan Interface
public static interface GenericResource.UpdateStages.WithPlan
A generic resource update allowing to change the resource plan.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withPlan(Plan plan)
Specifies the plan of the resource. |
abstract Update |
withPlan(String name, String publisher, String product, String promotionCode)
Specifies the plan of the resource. |
abstract Update |
withoutPlan()
Specifies the plan of the resource. |
Method Details
withPlan
public abstract GenericResource.Update withPlan(Plan plan)
Specifies the plan of the resource.
Parameters:
plan
- the plan
Returns:
the next stage of the generic resource update
withPlan
public abstract GenericResource.Update withPlan(String name, String publisher, String product, String promotionCode)
Specifies the plan of the resource.
Parameters:
name
- the name of the plan
publisher
- the publisher of the plan
product
- the name of the product
promotionCode
- the promotion code, if any
Returns:
the next stage of the generic resource update
withoutPlan
public abstract GenericResource.Update withoutPlan()
Specifies the plan of the resource.
Returns:
the next stage of the generic resource update