Class VariantResource
- java.lang.Object
-
- com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition<Variant,Variant,Variant,Variant>
-
- com.snowflake.connectors.application.ingestion.definition.VariantResource
-
public class VariantResource extends ResourceIngestionDefinition<Variant,Variant,Variant,Variant>
An implementation ofResourceIngestionDefinition
usingVariant
for all dependencies.
-
-
Constructor Summary
Constructors Constructor Description VariantResource()
Creates an emptyVariantResource
.VariantResource(String id, String name, boolean enabled, Variant resourceId, Variant resourceMetadata, List<IngestionConfiguration<Variant,Variant>> ingestionConfigurations)
Creates a newVariantResource
, with no parent definition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
-
Methods inherited from class com.snowflake.connectors.application.ingestion.definition.ResourceIngestionDefinition
getId, getIngestionConfigurations, getName, getParentId, getResourceId, getResourceMetadata, isDisabled, isEnabled, setDisabled, setEnabled, setEnabled, setId, setIngestionConfigurations, setName, setParentId, setResourceId, setResourceMetadata, toString
-
-
-
-
Constructor Detail
-
VariantResource
public VariantResource()
Creates an emptyVariantResource
.This constructor is used by the reflection-based mapping process and should not be used for any other purpose.
-
VariantResource
public VariantResource(String id, String name, boolean enabled, Variant resourceId, Variant resourceMetadata, List<IngestionConfiguration<Variant,Variant>> ingestionConfigurations)
Creates a newVariantResource
, with no parent definition.- Parameters:
id
- resource ingestion definition idname
- resource nameenabled
- should the ingestion for the resource be enabledresourceId
- properties which identify the resource in the source systemresourceMetadata
- resource metadataingestionConfigurations
- ingestion configurations
-
-