| 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 |
maintenanceInfo(MaintenanceInfo maintenanceInfo)
Maintenance information for a Service Instance which is provisioned using the Service Plan.
|
Plan.PlanBuilder |
maximumPollingDuration(Integer maximumPollingDuration)
A duration, in seconds, that the Platform SHOULD use as the Service's maximum polling duration.
|
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 |
planUpdateable(Boolean planUpdateable)
Indicates whether the the plan can be updated.
|
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 planUpdateable(Boolean planUpdateable)
null, the field will be omitted from the serialized JSON.planUpdateable - true if the service with this plan may be boundpublic Plan.PlanBuilder schemas(Schemas schemas)
schemas - plan schemaspublic Plan.PlanBuilder maximumPollingDuration(Integer maximumPollingDuration)
null, the field will be omitted from the serialized JSON.maximumPollingDuration - the maximum polling durationpublic Plan.PlanBuilder maintenanceInfo(MaintenanceInfo maintenanceInfo)
maintenanceInfo - the maintenanceInfo