java.lang.ObjectSE
org.springframework.cloud.servicebroker.model.catalog.Plan

public class Plan extends ObjectSE
ServiceDefinition で利用可能なサービスプラン。
作成者:
S Greenberg, Scott Frederick, Roy Clarkson
関連事項:
  • コンストラクターの詳細

    • 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 - プラン ID
      name - the plan name
      description - the plan description
      metadata - the plan metadata
      free - true if the plan has no cost
      bindable - true if the service with this plan may be bound
      planUpdateable - 計画が更新される可能性がある場合は true
      schemas - the plan schemas
      maximumPollingDuration - the maximum polling duration in seconds
      maintenanceInfo - the maintentance information
  • メソッドの詳細

    • getId

      public StringSE 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

      public StringSE 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

      public StringSE getDescription()
      A user-friendly short description of the plan that will appear in the catalog.
      戻り値:
      the plan description
    • getMetadata

      public MapSE<StringSE,ObjectSE> getMetadata()
      A map of metadata to further describe a service plan.
      戻り値:
      the plan metadata
      関連事項:
    • isFree

      public BooleanSE 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

      public BooleanSE isBindable()
      Indicates whether the service with this plan can be bound to applications. This is an optional field. If the value is null, the field will be omitted from the serialized JSON.
      戻り値:
      true if the service with this plan may be bound
    • isPlanUpdateable

      public BooleanSE 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 is null, the field will be omitted from the serialized JSON.
      戻り値:
      計画が更新される可能性がある場合は true
    • getSchemas

      public Schemas getSchemas()
      The schemas for this plan.
      戻り値:
      the plan schemas
    • getMaximumPollingDuration

      public IntegerSE 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 is null, the field will be omitted from the serialized JSON.
      戻り値:
      the maximum polling duration
    • getMaintenanceInfo

      public MaintenanceInfo 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

      public static Plan.PlanBuilder builder()
      プランを構築するための流れるような API を提供するビルダーを作成します。
      戻り値:
      ビルダー
    • equals

      public final boolean equals(ObjectSE o)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • hashCode

      public final int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode 
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString