Interface FailedDataSegmentDeletion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FailedDataSegmentDeletion.Builder,,FailedDataSegmentDeletion> SdkBuilder<FailedDataSegmentDeletion.Builder,,FailedDataSegmentDeletion> SdkPojo
- Enclosing class:
FailedDataSegmentDeletion
@Mutable
@NotThreadSafe
public static interface FailedDataSegmentDeletion.Builder
extends SdkPojo, CopyableBuilder<FailedDataSegmentDeletion.Builder,FailedDataSegmentDeletion>
-
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 deletion.errorCode(DataSegmentErrorCode errorCode) The error code for the failed deletion.errorMessage(String errorMessage) The error message for the failed deletion.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
-
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 FailedDataSegmentDeletion.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
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 deletion.
- Parameters:
errorCode- The error code for the failed deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code for the failed deletion.
- Parameters:
errorCode- The error code for the failed deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The error message for the failed deletion.
- Parameters:
errorMessage- The error message for the failed deletion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-