Interface DataSegmentSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSegmentSummary.Builder,,DataSegmentSummary> SdkBuilder<DataSegmentSummary.Builder,,DataSegmentSummary> SdkPojo
- Enclosing class:
DataSegmentSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe alias of the time series.The data type of the time series.dataType(PropertyDataType dataType) The data type of the time series.default DataSegmentSummary.BuilderendTimestamp(Consumer<TimeInNanos.Builder> endTimestamp) The nanosecond-precision end time of the data segment.endTimestamp(TimeInNanos endTimestamp) The nanosecond-precision end time of the data segment.default DataSegmentSummary.Builderenrichment(Consumer<DataSegmentEnrichment.Builder> enrichment) The enrichment information for the data segment.enrichment(DataSegmentEnrichment enrichment) The enrichment information for the data segment.sourceDatasetId(String sourceDatasetId) The ID of the source dataset that contains the data segment.default DataSegmentSummary.BuilderstartTimestamp(Consumer<TimeInNanos.Builder> startTimestamp) The nanosecond-precision start time of the data segment.startTimestamp(TimeInNanos startTimestamp) The nanosecond-precision start time of the data segment.timeSeriesId(String timeSeriesId) The ID of the time series.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceDatasetId
The ID of the source dataset that contains the data segment.
- Parameters:
sourceDatasetId- The ID of the source dataset that contains the data segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesId
The ID of the time series.
- Parameters:
timeSeriesId- The ID of the time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
The nanosecond-precision start time of the data segment.
- Parameters:
startTimestamp- The nanosecond-precision start time of the data segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
The nanosecond-precision start time of the data segment.
This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTimestamp(TimeInNanos).- Parameters:
startTimestamp- a consumer that will call methods onTimeInNanos.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTimestamp
The nanosecond-precision end time of the data segment.
- Parameters:
endTimestamp- The nanosecond-precision end time of the data segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimestamp
The nanosecond-precision end time of the data segment.
This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendTimestamp(TimeInNanos).- Parameters:
endTimestamp- a consumer that will call methods onTimeInNanos.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
alias
The alias of the time series.
- Parameters:
alias- The alias of the time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
The data type of the time series.
- Parameters:
dataType- The data type of the time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataType
The data type of the time series.
- Parameters:
dataType- The data type of the time series.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enrichment
The enrichment information for the data segment.
- Parameters:
enrichment- The enrichment information for the data segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrichment
The enrichment information for the data segment.
This is a convenience method that creates an instance of theDataSegmentEnrichment.Builderavoiding the need to create one manually viaDataSegmentEnrichment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenrichment(DataSegmentEnrichment).- Parameters:
enrichment- a consumer that will call methods onDataSegmentEnrichment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-