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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidityPeriod.Builderperiod(Long period)The numeric value for the validity period.ValidityPeriod.BuilderperiodType(String periodType)The unit of time.ValidityPeriod.BuilderperiodType(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 Detail
-
period
ValidityPeriod.Builder period(Long 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
ValidityPeriod.Builder periodType(String 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:
ValidityPeriodType,ValidityPeriodType
-
periodType
ValidityPeriod.Builder periodType(ValidityPeriodType 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:
ValidityPeriodType,ValidityPeriodType
-
-