Class AssertionRunEvent

  • All Implemented Interfaces:
    OneOfEnvelopedAspectValue, OneOfGenericAspectValue

    @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-05-10T05:58:32.374063Z[Etc/UTC]")
    public class AssertionRunEvent
    extends java.lang.Object
    implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue
    An event representing the current status of evaluating an assertion on a batch. AssertionRunEvent should be used for reporting the status of a run as an assertion evaluation progresses.
    • Constructor Detail

      • AssertionRunEvent

        public AssertionRunEvent()
    • Method Detail

      • get__type

        @NotNull
        public @NotNull java.lang.String get__type()
        Name of this subclass in SimpleClassName format
        Returns:
        __type
      • timestampMillis

        public AssertionRunEvent timestampMillis​(java.lang.Long timestampMillis)
      • getTimestampMillis

        @NotNull
        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getTimestampMillis()
        The event timestamp field as epoch at UTC in milli seconds. minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        timestampMillis
      • setTimestampMillis

        public void setTimestampMillis​(java.lang.Long timestampMillis)
      • getEventGranularity

        @Valid
        public @Valid TimeWindowSize getEventGranularity()
        Get eventGranularity
        Returns:
        eventGranularity
      • setEventGranularity

        public void setEventGranularity​(TimeWindowSize eventGranularity)
      • getPartitionSpec

        @NotNull
        @Valid
        public @NotNull @Valid PartitionSpec getPartitionSpec()
        Get partitionSpec
        Returns:
        partitionSpec
      • setPartitionSpec

        public void setPartitionSpec​(PartitionSpec partitionSpec)
      • getMessageId

        public java.lang.String getMessageId()
        The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.
        Returns:
        messageId
      • setMessageId

        public void setMessageId​(java.lang.String messageId)
      • getRunId

        @NotNull
        public @NotNull java.lang.String getRunId()
        Native (platform-specific) identifier for this run
        Returns:
        runId
      • setRunId

        public void setRunId​(java.lang.String runId)
      • assertionUrn

        public AssertionRunEvent assertionUrn​(java.lang.String assertionUrn)
      • getAssertionUrn

        @NotNull
        public @NotNull java.lang.String getAssertionUrn()
        Get assertionUrn
        Returns:
        assertionUrn
      • setAssertionUrn

        public void setAssertionUrn​(java.lang.String assertionUrn)
      • asserteeUrn

        public AssertionRunEvent asserteeUrn​(java.lang.String asserteeUrn)
      • getAsserteeUrn

        @NotNull
        public @NotNull java.lang.String getAsserteeUrn()
        Get asserteeUrn
        Returns:
        asserteeUrn
      • setAsserteeUrn

        public void setAsserteeUrn​(java.lang.String asserteeUrn)
      • getBatchSpec

        @Valid
        public @Valid BatchSpec getBatchSpec()
        Get batchSpec
        Returns:
        batchSpec
      • setBatchSpec

        public void setBatchSpec​(BatchSpec batchSpec)
      • getStatus

        @NotNull
        @Valid
        public @NotNull @Valid AssertionRunStatus getStatus()
        Get status
        Returns:
        status
      • getResult

        @Valid
        public @Valid AssertionResult getResult()
        Get result
        Returns:
        result
      • runtimeContext

        public AssertionRunEvent runtimeContext​(java.util.Map<java.lang.String,​java.lang.String> runtimeContext)
      • putRuntimeContextItem

        public AssertionRunEvent putRuntimeContextItem​(java.lang.String key,
                                                       java.lang.String runtimeContextItem)
      • getRuntimeContext

        public java.util.Map<java.lang.String,​java.lang.String> getRuntimeContext()
        Runtime parameters of evaluation
        Returns:
        runtimeContext
      • setRuntimeContext

        public void setRuntimeContext​(java.util.Map<java.lang.String,​java.lang.String> runtimeContext)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object