Class IngestionConfiguration<C,D>
- java.lang.Object
-
- com.snowflake.connectors.application.ingestion.definition.IngestionConfiguration<C,D>
-
- Type Parameters:
C
- class of the custom ingestion propertiesD
- class of the properties describing where the ingested data should be stored
public class IngestionConfiguration<C,D> extends Object
Representation of an ingestion configuration.
-
-
Constructor Summary
Constructors Constructor Description IngestionConfiguration()
Creates an emptyIngestionConfiguration
.IngestionConfiguration(String id, IngestionStrategy ingestionStrategy, C customIngestionConfiguration, ScheduleType scheduleType, String scheduleDefinition, D destination)
Creates a newIngestionConfiguration
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
C
getCustomIngestionConfiguration()
Returns the custom ingestion properties.D
getDestination()
Returns the properties describing where the ingested data should be stored.String
getId()
Returns the ingestion configuration id.IngestionStrategy
getIngestionStrategy()
Returns the ingestion strategy.String
getScheduleDefinition()
Returns the schedule definition.ScheduleType
getScheduleType()
Returns the schedule type.int
hashCode()
-
-
-
Constructor Detail
-
IngestionConfiguration
public IngestionConfiguration()
Creates an emptyIngestionConfiguration
.This constructor is used by the reflection-based mapping process and should not be used for any other purpose.
-
IngestionConfiguration
public IngestionConfiguration(String id, IngestionStrategy ingestionStrategy, C customIngestionConfiguration, ScheduleType scheduleType, String scheduleDefinition, D destination)
Creates a newIngestionConfiguration
.- Parameters:
id
- ingestion configuration idingestionStrategy
- ingestion strategycustomIngestionConfiguration
- custom ingestion propertiesscheduleType
- schedule typescheduleDefinition
- schedule definitiondestination
- properties describing where the ingested data should be stored
-
-
Method Detail
-
getId
public String getId()
Returns the ingestion configuration id.- Returns:
- ingestion configuration id
-
getIngestionStrategy
public IngestionStrategy getIngestionStrategy()
Returns the ingestion strategy.- Returns:
- ingestion strategy
-
getCustomIngestionConfiguration
public C getCustomIngestionConfiguration()
Returns the custom ingestion properties.- Returns:
- custom ingestion properties
-
getScheduleType
public ScheduleType getScheduleType()
Returns the schedule type.- Returns:
- schedule type
-
getScheduleDefinition
public String getScheduleDefinition()
Returns the schedule definition.- Returns:
- schedule definition
-
getDestination
public D getDestination()
Returns the properties describing where the ingested data should be stored.- Returns:
- properties describing where the ingested data should be stored
-
-