Interface DisassociateDataSegmentEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisassociateDataSegmentEntry.Builder,,DisassociateDataSegmentEntry> SdkBuilder<DisassociateDataSegmentEntry.Builder,,DisassociateDataSegmentEntry> SdkPojo
- Enclosing class:
DisassociateDataSegmentEntry
@Mutable
@NotThreadSafe
public static interface DisassociateDataSegmentEntry.Builder
extends SdkPojo, CopyableBuilder<DisassociateDataSegmentEntry.Builder,DisassociateDataSegmentEntry>
-
Method Summary
Modifier and TypeMethodDescriptionendTimestamp(Consumer<TimeInNanos.Builder> endTimestamp) The nanosecond-precision end time of the data segment to disassociate.endTimestamp(TimeInNanos endTimestamp) The nanosecond-precision end time of the data segment to disassociate.sourceDatasetId(String sourceDatasetId) The ID of the source dataset that contains the data segment.startTimestamp(Consumer<TimeInNanos.Builder> startTimestamp) The nanosecond-precision start time of the data segment to disassociate.startTimestamp(TimeInNanos startTimestamp) The nanosecond-precision start time of the data segment to disassociate.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 to disassociate.
- Parameters:
startTimestamp- The nanosecond-precision start time of the data segment to disassociate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimestamp
default DisassociateDataSegmentEntry.Builder startTimestamp(Consumer<TimeInNanos.Builder> startTimestamp) The nanosecond-precision start time of the data segment to disassociate.
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 to disassociate.
- Parameters:
endTimestamp- The nanosecond-precision end time of the data segment to disassociate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTimestamp
default DisassociateDataSegmentEntry.Builder endTimestamp(Consumer<TimeInNanos.Builder> endTimestamp) The nanosecond-precision end time of the data segment to disassociate.
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:
-