| Modifier and Type | Method and Description |
|---|---|
Plan.PlanBuilder |
bindable(Boolean bindable)
Indicates whether the service with this plan can be bound to applications.
|
Plan |
build()
Construct a
Plan from the provided values. |
Plan.PlanBuilder |
description(String description)
A user-friendly short description of the plan that will appear in the catalog.
|
Plan.PlanBuilder |
free(Boolean free)
Whether the plan has a cost associated with it or not
|
Plan.PlanBuilder |
id(String id)
An identifier used to correlate this plan in future requests to the catalog.
|
Plan.PlanBuilder |
metadata(Map<String,Object> metadata)
A map of plan metadata to further describe the plan
|
Plan.PlanBuilder |
metadata(String key,
Object value)
A key/value pair to add to the map of plan metadata
|
Plan.PlanBuilder |
name(String name)
A CLI-friendly name of the plan that will appear in the catalog.
|
Plan.PlanBuilder |
schemas(Schemas schemas)
The schemas for this plan
|
public Plan.PlanBuilder id(String id)
id - the unique identifier of the planpublic Plan.PlanBuilder name(String name)
name - plan namepublic Plan.PlanBuilder description(String description)
description - plan descriptionpublic Plan.PlanBuilder metadata(Map<String,Object> metadata)
metadata - plan metadatapublic Plan.PlanBuilder metadata(String key, Object value)
key - a unique keyvalue - the valuepublic Plan.PlanBuilder free(Boolean free)
free - true if the plan has no costpublic Plan.PlanBuilder bindable(Boolean bindable)
null, the field will be
omitted from the serialized JSON.bindable - true if the service with this plan may be boundpublic Plan.PlanBuilder schemas(Schemas schemas)
schemas - plan schemas