Interface ProductContract.UpdateStages.WithState
- All Known Subinterfaces:
ProductContract.Update
- Enclosing interface:
ProductContract.UpdateStages
public static interface ProductContract.UpdateStages.WithState
The stage of the ProductContract update allowing to specify state.
-
Method Summary
Modifier and TypeMethodDescriptionwithState(ProductState state) Specifies the state property: whether product is published or not.
-
Method Details
-
withState
Specifies the state property: whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished..- Parameters:
state- whether product is published or not. Published products are discoverable by users of developer portal. Non published products are visible only to administrators. Default state of Product is notPublished.- Returns:
- the next definition stage.
-