Class DatahubIngestionCheckpoint
- java.lang.Object
-
- io.datahubproject.openapi.generated.DatahubIngestionCheckpoint
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class DatahubIngestionCheckpoint extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValueCheckpoint of a datahub ingestion run for a given job.
-
-
Constructor Summary
Constructors Constructor Description DatahubIngestionCheckpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatahubIngestionCheckpointconfig(java.lang.String config)booleanequals(java.lang.Object o)DatahubIngestionCheckpointeventGranularity(TimeWindowSize eventGranularity)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull java.lang.StringgetConfig()Json-encoded string representation of the non-secret members of the config .@Valid TimeWindowSizegetEventGranularity()Get eventGranularityjava.lang.StringgetMessageId()The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.@NotNull @Valid PartitionSpecgetPartitionSpec()Get partitionSpec@NotNull java.lang.StringgetPipelineName()The name of the pipeline that ran ingestion, a stable unique user provided identifier.@NotNull java.lang.StringgetPlatformInstanceId()The id of the instance against which the ingestion pipeline ran.@NotNull java.lang.StringgetRunId()The run identifier of this job.@NotNull @Valid IngestionCheckpointStategetState()Get state@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetTimestampMillis()The event timestamp field as epoch at UTC in milli seconds.inthashCode()DatahubIngestionCheckpointmessageId(java.lang.String messageId)DatahubIngestionCheckpointpartitionSpec(PartitionSpec partitionSpec)DatahubIngestionCheckpointpipelineName(java.lang.String pipelineName)DatahubIngestionCheckpointplatformInstanceId(java.lang.String platformInstanceId)DatahubIngestionCheckpointrunId(java.lang.String runId)voidsetConfig(java.lang.String config)voidsetEventGranularity(TimeWindowSize eventGranularity)voidsetMessageId(java.lang.String messageId)voidsetPartitionSpec(PartitionSpec partitionSpec)voidsetPipelineName(java.lang.String pipelineName)voidsetPlatformInstanceId(java.lang.String platformInstanceId)voidsetRunId(java.lang.String runId)voidsetState(IngestionCheckpointState state)voidsetTimestampMillis(java.lang.Long timestampMillis)DatahubIngestionCheckpointstate(IngestionCheckpointState state)DatahubIngestionCheckpointtimestampMillis(java.lang.Long timestampMillis)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
timestampMillis
public DatahubIngestionCheckpoint 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)
-
eventGranularity
public DatahubIngestionCheckpoint eventGranularity(TimeWindowSize eventGranularity)
-
getEventGranularity
@Valid public @Valid TimeWindowSize getEventGranularity()
Get eventGranularity- Returns:
- eventGranularity
-
setEventGranularity
public void setEventGranularity(TimeWindowSize eventGranularity)
-
partitionSpec
public DatahubIngestionCheckpoint partitionSpec(PartitionSpec partitionSpec)
-
getPartitionSpec
@NotNull @Valid public @NotNull @Valid PartitionSpec getPartitionSpec()
Get partitionSpec- Returns:
- partitionSpec
-
setPartitionSpec
public void setPartitionSpec(PartitionSpec partitionSpec)
-
messageId
public DatahubIngestionCheckpoint messageId(java.lang.String messageId)
-
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)
-
pipelineName
public DatahubIngestionCheckpoint pipelineName(java.lang.String pipelineName)
-
getPipelineName
@NotNull public @NotNull java.lang.String getPipelineName()
The name of the pipeline that ran ingestion, a stable unique user provided identifier. e.g. my_snowflake1-to-datahub.- Returns:
- pipelineName
-
setPipelineName
public void setPipelineName(java.lang.String pipelineName)
-
platformInstanceId
public DatahubIngestionCheckpoint platformInstanceId(java.lang.String platformInstanceId)
-
getPlatformInstanceId
@NotNull public @NotNull java.lang.String getPlatformInstanceId()
The id of the instance against which the ingestion pipeline ran. e.g.: Bigquery project ids, MySQL hostnames etc.- Returns:
- platformInstanceId
-
setPlatformInstanceId
public void setPlatformInstanceId(java.lang.String platformInstanceId)
-
config
public DatahubIngestionCheckpoint config(java.lang.String config)
-
getConfig
@NotNull public @NotNull java.lang.String getConfig()
Json-encoded string representation of the non-secret members of the config .- Returns:
- config
-
setConfig
public void setConfig(java.lang.String config)
-
state
public DatahubIngestionCheckpoint state(IngestionCheckpointState state)
-
getState
@NotNull @Valid public @NotNull @Valid IngestionCheckpointState getState()
Get state- Returns:
- state
-
setState
public void setState(IngestionCheckpointState state)
-
runId
public DatahubIngestionCheckpoint runId(java.lang.String runId)
-
getRunId
@NotNull public @NotNull java.lang.String getRunId()
The run identifier of this job.- Returns:
- runId
-
setRunId
public void setRunId(java.lang.String runId)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-