Interface FailedDataSegmentDisassociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FailedDataSegmentDisassociation.Builder,,FailedDataSegmentDisassociation> SdkBuilder<FailedDataSegmentDisassociation.Builder,,FailedDataSegmentDisassociation> SdkPojo
- Enclosing class:
FailedDataSegmentDisassociation
@Mutable
@NotThreadSafe
public static interface FailedDataSegmentDisassociation.Builder
extends SdkPojo, CopyableBuilder<FailedDataSegmentDisassociation.Builder,FailedDataSegmentDisassociation>
-
Method Summary
Modifier and TypeMethodDescriptionendTimestamp(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.The error code for the failed disassociation.errorCode(DataSegmentErrorCode errorCode) The error code for the failed disassociation.errorMessage(String errorMessage) The error message for the failed disassociation.sourceDatasetId(String sourceDatasetId) The ID of the source dataset.startTimestamp(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.
- Parameters:
sourceDatasetId- The ID of the source dataset.- 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
default FailedDataSegmentDisassociation.Builder startTimestamp(Consumer<TimeInNanos.Builder> 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
default FailedDataSegmentDisassociation.Builder endTimestamp(Consumer<TimeInNanos.Builder> 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:
-
errorCode
The error code for the failed disassociation.
- Parameters:
errorCode- The error code for the failed disassociation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code for the failed disassociation.
- Parameters:
errorCode- The error code for the failed disassociation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The error message for the failed disassociation.
- Parameters:
errorMessage- The error message for the failed disassociation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-