Interface TrimSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrimSettings.Builder,,TrimSettings> SdkBuilder<TrimSettings.Builder,,TrimSettings> SdkPojo
- Enclosing class:
TrimSettings
@Mutable
@NotThreadSafe
public static interface TrimSettings.Builder
extends SdkPojo, CopyableBuilder<TrimSettings.Builder,TrimSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrimSettings.BuilderendTime(Consumer<TimeInNanos.Builder> endTime) <p>The end time for the trim range.endTime(TimeInNanos endTime) <p>The end time for the trim range.default TrimSettings.BuilderstartTime(Consumer<TimeInNanos.Builder> startTime) <p>The start time for the trim range.</p> This is a convenience method that creates an instance of theTimeInNanos.Builderavoiding the need to create one manually viaTimeInNanos.builder().startTime(TimeInNanos startTime) <p>The start time for the trim range.</p>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
-
startTime
<p>The start time for the trim range.</p>- Parameters:
startTime- <p>The start time for the trim range.</p>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
<p>The start time for the trim range.</p> 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 tostartTime(TimeInNanos).- Parameters:
startTime- 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:
-
endTime
<p>The end time for the trim range. Must be greater than startTime.</p>- Parameters:
endTime- <p>The end time for the trim range. Must be greater than startTime.</p>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
<p>The end time for the trim range. Must be greater than startTime.</p> 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 toendTime(TimeInNanos).- Parameters:
endTime- 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:
-