クラス Plan
java.lang.ObjectSE
org.springframework.cloud.servicebroker.model.catalog.Plan
ServiceDefinition で利用可能なサービスプラン。
- 作成者:
- S Greenberg, Scott Frederick, Roy Clarkson
- 関連事項:
ネストされたクラスのサマリー
ネストされたクラスコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明static Plan.PlanBuilder
builder()
プランを構築するための流れるような API を提供するビルダーを作成します。final boolean
A user-friendly short description of the plan that will appear in the catalog.getId()
An identifier used to correlate this plan in future requests to the catalog.Maintenance information for a Service Instance which is provisioned using the Service Plan.A duration, in seconds, that the Platform SHOULD use as the Service's maximum polling duration.A map of metadata to further describe a service plan.getName()
A CLI-friendly name of the plan that will appear in the catalog.The schemas for this plan.final int
hashCode()
Indicates whether the service with this plan can be bound to applications.isFree()
Indicates whether the plan can be limited by the non_basic_services_allowed field in a platform quota.Whether the Plan supports upgrade/downgrade/sidegrade to another version.toString()
コンストラクターの詳細
Plan
public Plan()新しいPlan
を作成します。Plan
public Plan(StringSE id, StringSE name, StringSE description, MapSE<StringSE, ObjectSE> metadata, BooleanSE free, BooleanSE bindable, BooleanSE planUpdateable, Schemas schemas, IntegerSE maximumPollingDuration, MaintenanceInfo maintenanceInfo) 新しいPlan
を作成します。- パラメーター:
id
- プラン IDname
- the plan namedescription
- the plan descriptionmetadata
- the plan metadatafree
- true if the plan has no costbindable
- true if the service with this plan may be boundplanUpdateable
- 計画が更新される可能性がある場合は trueschemas
- the plan schemasmaximumPollingDuration
- the maximum polling duration in secondsmaintenanceInfo
- the maintentance information
メソッドの詳細
getId
An identifier used to correlate this plan in future requests to the catalog. This must be unique within the platform. Using a GUID is recommended.- 戻り値:
- プラン ID
getName
A CLI-friendly name of the plan that will appear in the catalog. The value should be all lowercase, with no spaces.- 戻り値:
- the plan name
getDescription
A user-friendly short description of the plan that will appear in the catalog.- 戻り値:
- the plan description
getMetadata
A map of metadata to further describe a service plan.- 戻り値:
- the plan metadata
- 関連事項:
isFree
Indicates whether the plan can be limited by the non_basic_services_allowed field in a platform quota.- 戻り値:
- true if the plan has no cost
isBindable
Indicates whether the service with this plan can be bound to applications. This is an optional field. If the value isnull
, the field will be omitted from the serialized JSON.- 戻り値:
- true if the service with this plan may be bound
isPlanUpdateable
Whether the Plan supports upgrade/downgrade/sidegrade to another version. This field is OPTIONAL. If specified, this takes precedence over the Service Offering's plan_updateable field. If not specified, the default is derived from the Service Offering. If the value isnull
, the field will be omitted from the serialized JSON.- 戻り値:
- 計画が更新される可能性がある場合は true
getSchemas
The schemas for this plan.- 戻り値:
- the plan schemas
getMaximumPollingDuration
A duration, in seconds, that the Platform SHOULD use as the Service's maximum polling duration. If the maximum polling duration is reached, the platform should cease polling and the operation state MUST be considered failed. If the value isnull
, the field will be omitted from the serialized JSON.- 戻り値:
- the maximum polling duration
getMaintenanceInfo
Maintenance information for a Service Instance which is provisioned using the Service Plan. If provided, a version string MUST be provided and platforms MAY use this when Provisioning or Updating a Service Instance.- 戻り値:
- メンテナンス情報
builder
プランを構築するための流れるような API を提供するビルダーを作成します。- 戻り値:
- ビルダー
equals
hashCode
public final int hashCode()toString