Klasse Plan.PlanBuilder

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.Plan.PlanBuilder
Umschließende Klasse:
Plan

public static class Plan.PlanBuilder extends Object
  • Methodendetails

    • license

      public Plan.PlanBuilder license(String license)
      License of the plan
      Gibt zurück:
      this.
    • terms

      public Plan.PlanBuilder terms(String terms)
      Terms of the plan usage as descriptive string
      Gibt zurück:
      this.
    • cost

      public Plan.PlanBuilder cost(Cost cost)
      Gibt zurück:
      this.
    • creationDate

      public Plan.PlanBuilder creationDate(Long creationDate)
      The creation date of plan in milli seconds
      Gibt zurück:
      this.
    • customFields

      public Plan.PlanBuilder customFields(Map<String,Object> customFields)
      This can be used to store additional information needed for a plan
      Gibt zurück:
      this.
    • description

      public Plan.PlanBuilder description(String description)
      Description of the plan
      Gibt zurück:
      this.
    • icon

      public Plan.PlanBuilder icon(String icon)
      An inline base64 encoded string representation of icon to be used in plan
      Gibt zurück:
      this.
    • id

      public Plan.PlanBuilder id(String id)
      Id of the plan. It will be autogenerated for the plan on creation
      Gibt zurück:
      this.
    • modifiedDate

      public Plan.PlanBuilder modifiedDate(Long modifiedDate)
      The modified date of plan in milli seconds. This will be updated for plan on update.
      Gibt zurück:
      this.
    • name

      public Plan.PlanBuilder name(String name)
      Name of the plan
      Gibt zurück:
      this.
    • policies

      public Plan.PlanBuilder policies(List<String> policies)
      Policy that holds the rate limit throttling policy actions. It will created automatically. It can contain zero or more throttling policy action as rate limit policy
      Gibt zurück:
      this.
    • _protected

      public Plan.PlanBuilder _protected(Boolean _protected)
      Gibt zurück:
      this.
    • quota

      public Plan.PlanBuilder quota(Quota quota)
      Gibt zurück:
      this.
    • tags

      public Plan.PlanBuilder tags(List<String> tags)
      List of tags of the plan
      Gibt zurück:
      this.
    • version

      public Plan.PlanBuilder version(String version)
      Version of the plan
      Gibt zurück:
      this.
    • build

      public Plan build()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object