Klasse PurgeAPITransactionsOperationSpec
java.lang.Object
io.github.primelib.webmethodsapigateway4j.spec.PurgeAPITransactionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class PurgeAPITransactionsOperationSpec
extends Object
PurgeAPITransactionsSpec
Specification for the PurgeAPITransactions operation.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedPurgeAPITransactionsOperationSpec(String from, String until, String eventType, String action, String olderThan) Constructs a validated instance ofPurgeAPITransactionsOperationSpec.Constructs a validated instance ofPurgeAPITransactionsOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable Stringaction()This is an optional query parameter.This is an optional query parameter.builder()protected booleanboolean@NotNull StringThis parameter is used to specify the event type to be purged.This parameter is used to specify the event type to be purged.@NotNull Stringfrom()This is a date parameter.This is a date parameter.inthashCode()@Nullable StringAll the api transactions of the specified type, that are older than the value specified, are purged.All the api transactions of the specified type, that are older than the value specified, are purged.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
-
PurgeAPITransactionsOperationSpec
@Internal public PurgeAPITransactionsOperationSpec(Consumer<PurgeAPITransactionsOperationSpec> spec) Constructs a validated instance ofPurgeAPITransactionsOperationSpec.- Parameter:
spec- the specification to process
-
PurgeAPITransactionsOperationSpec
@Internal public PurgeAPITransactionsOperationSpec(String from, String until, String eventType, String action, String olderThan) Constructs a validated instance ofPurgeAPITransactionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
from- This is a date parameter. All the api transactions of the specified type, from the given date, are purged. Ex: from=2017-12-18 00:00:00. Either one of from or duration is a mandatory parameteruntil- This is a date parameter. All the api transactions of the specified type, until the given date, are purged. Ex: until=2017-12-18 00:00:00. Either one of until or duration is a mandatory parametereventType- This parameter is used to specify the event type to be purged. Specify eventType=ALL to purge all the events. To purge a specific event type, specify the required event type. Ex: eventType=transactionalEvents. 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.serverLogTraceSpanaction- This is an optional query parameter. Sometimes it’s better to take backup before purging the data . If you specify the action value as "archiveAndPurge", API Gateway performs an archive before purging the data.olderThan- All the api transactions of the specified type, that are older than the value specified, are purged. 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
-
PurgeAPITransactionsOperationSpec
protected PurgeAPITransactionsOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
from
This is a date parameter. All the api transactions of the specified type, from the given date, are purged. 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 the specified type, until the given date, are purged. 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 event type to be purged. Specify eventType=ALL to purge all the events. To purge a specific event type, specify the required event type. Ex: eventType=transactionalEvents. 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 -
action
This is an optional query parameter. Sometimes it’s better to take backup before purging the data . If you specify the action value as "archiveAndPurge", API Gateway performs an archive before purging the data. -
olderThan
All the api transactions of the specified type, that are older than the value specified, are purged. 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 the specified type, from the given date, are purged. 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 the specified type, until the given date, are purged. Ex: until=2017-12-18 00:00:00. Either one of until or duration is a mandatory parameter- Gibt zurück:
this.
-
eventType
This parameter is used to specify the event type to be purged. Specify eventType=ALL to purge all the events. To purge a specific event type, specify the required event type. Ex: eventType=transactionalEvents. 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.
-
action
This is an optional query parameter. Sometimes it’s better to take backup before purging the data . If you specify the action value as "archiveAndPurge", API Gateway performs an archive before purging the data.- Gibt zurück:
this.
-
olderThan
All the api transactions of the specified type, that are older than the value specified, are purged. 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
-