public class Plan
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Plan.PlanBuilder
Provides a fluent API for constructing a Plan.
|
Modifier and Type | Method and Description |
---|---|
static Plan.PlanBuilder |
builder()
Create a builder that provides a fluent API for constructing a Plan.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
A user-friendly short description of the plan that will appear in the catalog.
|
java.lang.String |
getId()
An identifier used to correlate this plan in future requests to the catalog.
|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
A map of metadata to further describe a service plan.
|
java.lang.String |
getName()
A CLI-friendly name of the plan that will appear in the catalog.
|
Schemas |
getSchemas()
The schemas for this plan.
|
int |
hashCode() |
java.lang.Boolean |
isBindable()
Indicates whether the service with this plan can be bound to applications.
|
java.lang.Boolean |
isFree()
Indicates whether the plan can be limited by the non_basic_services_allowed field
in a platform quota.
|
java.lang.String |
toString() |
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getDescription()
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
public Schemas getSchemas()
public java.lang.Boolean isBindable()
null
, the field will be omitted
from the serialized JSON.public java.lang.Boolean isFree()
public static Plan.PlanBuilder builder()
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object