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-04-12T17:29:07.363401Z[Etc/UTC]") public class DatahubIngestionCheckpoint extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue
Checkpoint 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 DatahubIngestionCheckpoint
config(java.lang.String config)
boolean
equals(java.lang.Object o)
DatahubIngestionCheckpoint
eventGranularity(TimeWindowSize eventGranularity)
@NotNull java.lang.String
get__type()
Name of this subclass in SimpleClassName format@NotNull java.lang.String
getConfig()
Json-encoded string representation of the non-secret members of the config .@Valid TimeWindowSize
getEventGranularity()
Get eventGranularityjava.lang.String
getMessageId()
The optional messageId, if provided serves as a custom user-defined unique identifier for an aspect value.@NotNull @Valid PartitionSpec
getPartitionSpec()
Get partitionSpec@NotNull java.lang.String
getPipelineName()
The name of the pipeline that ran ingestion, a stable unique user provided identifier.@NotNull java.lang.String
getPlatformInstanceId()
The id of the instance against which the ingestion pipeline ran.@NotNull java.lang.String
getRunId()
The run identifier of this job.@NotNull @Valid IngestionCheckpointState
getState()
Get state@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long
getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds.int
hashCode()
DatahubIngestionCheckpoint
messageId(java.lang.String messageId)
DatahubIngestionCheckpoint
partitionSpec(PartitionSpec partitionSpec)
DatahubIngestionCheckpoint
pipelineName(java.lang.String pipelineName)
DatahubIngestionCheckpoint
platformInstanceId(java.lang.String platformInstanceId)
DatahubIngestionCheckpoint
runId(java.lang.String runId)
void
setConfig(java.lang.String config)
void
setEventGranularity(TimeWindowSize eventGranularity)
void
setMessageId(java.lang.String messageId)
void
setPartitionSpec(PartitionSpec partitionSpec)
void
setPipelineName(java.lang.String pipelineName)
void
setPlatformInstanceId(java.lang.String platformInstanceId)
void
setRunId(java.lang.String runId)
void
setState(IngestionCheckpointState state)
void
setTimestampMillis(java.lang.Long timestampMillis)
DatahubIngestionCheckpoint
state(IngestionCheckpointState state)
DatahubIngestionCheckpoint
timestampMillis(java.lang.Long timestampMillis)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-