Interface Duration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Duration.Builder,Duration>,SdkBuilder<Duration.Builder,Duration>,SdkPojo
- Enclosing class:
- Duration
public static interface Duration.Builder extends SdkPojo, CopyableBuilder<Duration.Builder,Duration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Duration.Builderunit(String unit)The unit of measurement for the duration of a maintenance schedule.Duration.Builderunit(TimeUnit unit)The unit of measurement for the duration of a maintenance schedule.Duration.Buildervalue(Long value)Integer to specify the value of a maintenance schedule duration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
value
Duration.Builder value(Long value)
Integer to specify the value of a maintenance schedule duration.
- Parameters:
value- Integer to specify the value of a maintenance schedule duration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Duration.Builder unit(String unit)
The unit of measurement for the duration of a maintenance schedule.
-
unit
Duration.Builder unit(TimeUnit unit)
The unit of measurement for the duration of a maintenance schedule.
-
-