StaticInputData Class

public final class StaticInputData
extends MonitoringInputDataBase

Static input data definition.

Constructor Summary

Constructor Description
StaticInputData()

Creates an instance of StaticInputData class.

Method Summary

Modifier and Type Method and Description
static StaticInputData fromJson(JsonReader jsonReader)

Reads an instance of StaticInputData from the JsonReader.

MonitoringInputDataType inputDataType()

Get the inputDataType property: [Required] Specifies the type of signal to monitor.

String preprocessingComponentId()

Get the preprocessingComponentId property: Reference to the component asset used to preprocess the data.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OffsetDateTime windowEnd()

Get the windowEnd property: [Required] The end date of the data window.

OffsetDateTime windowStart()

Get the windowStart property: [Required] The start date of the data window.

StaticInputData withColumns(Map<String,String> columns)

Set the columns property: Mapping of column names to special uses.

StaticInputData withDataContext(String dataContext)

Set the dataContext property: The context metadata of the data source.

StaticInputData withJobInputType(JobInputType jobInputType)

Set the jobInputType property: [Required] Specifies the type of job.

StaticInputData withPreprocessingComponentId(String preprocessingComponentId)

Set the preprocessingComponentId property: Reference to the component asset used to preprocess the data.

StaticInputData withUri(String uri)

Set the uri property: [Required] Input Asset URI.

StaticInputData withWindowEnd(OffsetDateTime windowEnd)

Set the windowEnd property: [Required] The end date of the data window.

StaticInputData withWindowStart(OffsetDateTime windowStart)

Set the windowStart property: [Required] The start date of the data window.

Methods inherited from MonitoringInputDataBase

Methods inherited from java.lang.Object

Constructor Details

StaticInputData

public StaticInputData()

Creates an instance of StaticInputData class.

Method Details

fromJson

public static StaticInputData fromJson(JsonReader jsonReader)

Reads an instance of StaticInputData from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StaticInputData if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

inputDataType

public MonitoringInputDataType inputDataType()

Get the inputDataType property: [Required] Specifies the type of signal to monitor.

Overrides:

StaticInputData.inputDataType()

Returns:

the inputDataType value.

preprocessingComponentId

public String preprocessingComponentId()

Get the preprocessingComponentId property: Reference to the component asset used to preprocess the data.

Returns:

the preprocessingComponentId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticInputData.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

StaticInputData.validate()

windowEnd

public OffsetDateTime windowEnd()

Get the windowEnd property: [Required] The end date of the data window.

Returns:

the windowEnd value.

windowStart

public OffsetDateTime windowStart()

Get the windowStart property: [Required] The start date of the data window.

Returns:

the windowStart value.

withColumns

public StaticInputData withColumns(Map<String,String> columns)

Set the columns property: Mapping of column names to special uses.

Overrides:

StaticInputData.withColumns(Map<String,String> columns)

Parameters:

columns

withDataContext

public StaticInputData withDataContext(String dataContext)

Set the dataContext property: The context metadata of the data source.

Overrides:

StaticInputData.withDataContext(String dataContext)

Parameters:

dataContext

withJobInputType

public StaticInputData withJobInputType(JobInputType jobInputType)

Set the jobInputType property: [Required] Specifies the type of job.

Overrides:

StaticInputData.withJobInputType(JobInputType jobInputType)

Parameters:

jobInputType

withPreprocessingComponentId

public StaticInputData withPreprocessingComponentId(String preprocessingComponentId)

Set the preprocessingComponentId property: Reference to the component asset used to preprocess the data.

Parameters:

preprocessingComponentId - the preprocessingComponentId value to set.

Returns:

the StaticInputData object itself.

withUri

public StaticInputData withUri(String uri)

Set the uri property: [Required] Input Asset URI.

Overrides:

StaticInputData.withUri(String uri)

Parameters:

uri

withWindowEnd

public StaticInputData withWindowEnd(OffsetDateTime windowEnd)

Set the windowEnd property: [Required] The end date of the data window.

Parameters:

windowEnd - the windowEnd value to set.

Returns:

the StaticInputData object itself.

withWindowStart

public StaticInputData withWindowStart(OffsetDateTime windowStart)

Set the windowStart property: [Required] The start date of the data window.

Parameters:

windowStart - the windowStart value to set.

Returns:

the StaticInputData object itself.

Applies to