WorkflowSku Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. WorkflowSku
- com.
Implements
public final class WorkflowSku
implements JsonSerializable<WorkflowSku>
The sku type.
Constructor Summary
Constructor | Description |
---|---|
WorkflowSku() |
Creates an instance of Workflow |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Workflow |
fromJson(JsonReader jsonReader)
Reads an instance of Workflow |
Workflow |
name()
Get the name property: The name. |
Resource |
plan()
Get the plan property: The reference to plan. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Workflow |
withName(WorkflowSkuName name)
Set the name property: The name. |
Workflow |
withPlan(ResourceReference plan)
Set the plan property: The reference to plan. |
Methods inherited from java.lang.Object
Constructor Details
WorkflowSku
public WorkflowSku()
Creates an instance of WorkflowSku class.
Method Details
fromJson
public static WorkflowSku fromJson(JsonReader jsonReader)
Reads an instance of WorkflowSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public WorkflowSkuName name()
Get the name property: The name.
Returns:
plan
public ResourceReference plan()
Get the plan property: The reference to plan.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public WorkflowSku withName(WorkflowSkuName name)
Set the name property: The name.
Parameters:
Returns:
withPlan
public WorkflowSku withPlan(ResourceReference plan)
Set the plan property: The reference to plan.
Parameters:
Returns:
Applies to
Azure SDK for Java