Klasse UpdateStrategyOperationSpec

java.lang.Object
io.github.primelib.webmethodsapigateway4j.spec.UpdateStrategyOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class UpdateStrategyOperationSpec extends Object
UpdateStrategySpec

Specification for the UpdateStrategy operation.

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • UpdateStrategyOperationSpec

      @Internal public UpdateStrategyOperationSpec(Consumer<UpdateStrategyOperationSpec> spec)
      Constructs a validated instance of UpdateStrategyOperationSpec.
      Parameter:
      spec - the specification to process
    • UpdateStrategyOperationSpec

      @Internal public UpdateStrategyOperationSpec(String strategyId, StrategyRequest body)
      Constructs a validated instance of UpdateStrategyOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      strategyId - This parameter specifies the ID of a strategy that is to be updated in API Gateway.
      body - This parameter describes the request payload of a strategy that is to be updated in API Gateway.
    • UpdateStrategyOperationSpec

      protected UpdateStrategyOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • strategyId

      @NotNull public @NotNull String strategyId()
      This parameter specifies the ID of a strategy that is to be updated in API Gateway.
    • body

      @NotNull public @NotNull StrategyRequest body()
      This parameter describes the request payload of a strategy that is to be updated in API Gateway.
    • strategyId

      public UpdateStrategyOperationSpec strategyId(@NotNull @NotNull String strategyId)
      This parameter specifies the ID of a strategy that is to be updated in API Gateway.
      Gibt zurück:
      this.
    • body

      public UpdateStrategyOperationSpec body(@NotNull @NotNull StrategyRequest body)
      This parameter describes the request payload of a strategy that is to be updated in API Gateway.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

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