Interface ValidityPeriod.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ValidityPeriod.Builder,
,ValidityPeriod> SdkBuilder<ValidityPeriod.Builder,
,ValidityPeriod> SdkPojo
- Enclosing class:
ValidityPeriod
public static interface ValidityPeriod.Builder
extends SdkPojo, CopyableBuilder<ValidityPeriod.Builder,ValidityPeriod>
-
Method Summary
Modifier and TypeMethodDescriptionThe numeric value for the validity period.periodType
(String periodType) The unit of time.periodType
(ValidityPeriodType periodType) The unit of time.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, sdkFields
-
Method Details
-
period
The numeric value for the validity period.
- Parameters:
period
- The numeric value for the validity period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodType
The unit of time. You can select hours, days, weeks, months, and years.
- Parameters:
periodType
- The unit of time. You can select hours, days, weeks, months, and years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
periodType
The unit of time. You can select hours, days, weeks, months, and years.
- Parameters:
periodType
- The unit of time. You can select hours, days, weeks, months, and years.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-