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.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungApiTransactionsArchiveBasedOnDurationOperationSpec(Consumer<ApiTransactionsArchiveBasedOnDurationOperationSpec> spec) Constructs a validated implementation ofApiTransactionsArchiveBasedOnDurationOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanboolean@NotNull StringThis parameter is used to specify the api transaction type.Specify eventType=ALL to archive all the events.This parameter is used to specify the api transaction type.Specify eventType=ALL to archive all the events.@NotNull Stringfrom()This is a date parameter.This is a date parameter.inthashCode()@Nullable StringAll the api transactions of specified type that are older than the value specified are archived.All the api transactions of specified type that are older than the value specified are archived.toString()@NotNull Stringuntil()This is a date parameter.This is a date parameter.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
ApiTransactionsArchiveBasedOnDurationOperationSpec
@Internal public ApiTransactionsArchiveBasedOnDurationOperationSpec(Consumer<ApiTransactionsArchiveBasedOnDurationOperationSpec> spec) Constructs a validated implementation ofApiTransactionsArchiveBasedOnDurationOperationSpec.- Parameter:
spec- the specification to process
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
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
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
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
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
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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-