Interface Duration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Duration.Builder,
,Duration> SdkBuilder<Duration.Builder,
,Duration> SdkPojo
- Enclosing class:
Duration
@Mutable
@NotThreadSafe
public static interface Duration.Builder
extends SdkPojo, CopyableBuilder<Duration.Builder,Duration>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the unit of a maintenance schedule duration.Specifies the unit of a maintenance schedule duration.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 Details
-
value
Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.
- Parameters:
value
- Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.
- Parameters:
unit
- Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.
- Parameters:
unit
- Specifies the unit of a maintenance schedule duration. Valid value is HOURS. See the Developer Guide for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-