CustomImagePropertiesFromPlan Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. CustomImagePropertiesFromPlan
- com.
Implements
public final class CustomImagePropertiesFromPlan
implements JsonSerializable<CustomImagePropertiesFromPlan>
Properties for plan on a custom image.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomImagePropertiesFromPlan() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
| String |
id()
Get the id property: The id of the plan, equivalent to name of the plan. |
| String |
offer()
Get the offer property: The offer for the plan from the marketplace image the custom image is derived from. |
| String |
publisher()
Get the publisher property: The publisher for the plan from the marketplace image the custom image is derived from. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Custom |
withId(String id)
Set the id property: The id of the plan, equivalent to name of the plan. |
|
Custom |
withOffer(String offer)
Set the offer property: The offer for the plan from the marketplace image the custom image is derived from. |
|
Custom |
withPublisher(String publisher)
Set the publisher property: The publisher for the plan from the marketplace image the custom image is derived from. |
Methods inherited from java.lang.Object
Constructor Details
CustomImagePropertiesFromPlan
public CustomImagePropertiesFromPlan()
Creates an instance of CustomImagePropertiesFromPlan class.
Method Details
fromJson
public static CustomImagePropertiesFromPlan fromJson(JsonReader jsonReader)
Reads an instance of CustomImagePropertiesFromPlan from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The id of the plan, equivalent to name of the plan.
Returns:
offer
public String offer()
Get the offer property: The offer for the plan from the marketplace image the custom image is derived from.
Returns:
publisher
public String publisher()
Get the publisher property: The publisher for the plan from the marketplace image the custom image is derived from.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public CustomImagePropertiesFromPlan withId(String id)
Set the id property: The id of the plan, equivalent to name of the plan.
Parameters:
Returns:
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:
Returns:
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:
Returns: