Klasse ApiTransactionsArchiveBasedOnDurationOperationSpec

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

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

Specification for the ApiTransactionsArchiveBasedOnDuration operation.

  • Felddetails

    • VALIDATION_ENABLED

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

  • Methodendetails

    • validate

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

      @NotNull public @NotNull String from()
      This is a date parameter. All the api transactions of specified type, from the given date, are archived. Ex: from=2017-12-18 00:00:00. Either one of from or duration is a mandatory parameter
    • until

      @NotNull public @NotNull String until()
      This is a date parameter. All the api transactions of specified type, until the given date, are archived. Ex: until=2017-12-18 00:00:00. Either one of until or duration is a mandatory parameter
    • eventType

      @NotNull public @NotNull String eventType()
      This parameter is used to specify the api transaction type.Specify eventType=ALL to archive all the events. To archive a specific event type, specify the required event type. Ex: eventType=transactionalEvents. The available event types are as follows 1.transactionalEvents 2.monitorEvents 3.errorEvents 4.performanceMetrics 5.threatProtectionEvents 6.lifecycleEvents 7.policyViolationEvents 8.auditlogs 9.applicationlogs 10.mediatorTraceSpan 11.serverLogTraceSpan
    • olderThan

      @Nullable public @Nullable String olderThan()
      All the api transactions of specified type that are older than the value specified are archived. Ex: olderThan='2d'. Possible types are d(days),M(months),y(years), For Example a) 2d means 2days b) 1M means 1 month c) 1y means 1 year
    • from

      public ApiTransactionsArchiveBasedOnDurationOperationSpec from(@NotNull @NotNull String from)
      This is a date parameter. All the api transactions of specified type, from the given date, are archived. Ex: from=2017-12-18 00:00:00. Either one of from or duration is a mandatory parameter
      Gibt zurück:
      this.
    • until

      public ApiTransactionsArchiveBasedOnDurationOperationSpec until(@NotNull @NotNull String until)
      This is a date parameter. All the api transactions of specified type, until the given date, are archived. Ex: until=2017-12-18 00:00:00. Either one of until or duration is a mandatory parameter
      Gibt zurück:
      this.
    • eventType

      public ApiTransactionsArchiveBasedOnDurationOperationSpec eventType(@NotNull @NotNull String eventType)
      This parameter is used to specify the api transaction type.Specify eventType=ALL to archive all the events. To archive a specific event type, specify the required event type. Ex: eventType=transactionalEvents. The available event types are as follows 1.transactionalEvents 2.monitorEvents 3.errorEvents 4.performanceMetrics 5.threatProtectionEvents 6.lifecycleEvents 7.policyViolationEvents 8.auditlogs 9.applicationlogs 10.mediatorTraceSpan 11.serverLogTraceSpan
      Gibt zurück:
      this.
    • olderThan

      public ApiTransactionsArchiveBasedOnDurationOperationSpec olderThan(@Nullable @Nullable String olderThan)
      All the api transactions of specified type that are older than the value specified are archived. Ex: olderThan='2d'. Possible types are d(days),M(months),y(years), For Example a) 2d means 2days b) 1M means 1 month c) 1y means 1 year
      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