Interface ValidityPeriod.Builder

    • 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