Interface Period.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Period.Builder,Period>, SdkBuilder<Period.Builder,Period>, SdkPojo
Enclosing class:
Period

@Mutable @NotThreadSafe public static interface Period.Builder extends SdkPojo, CopyableBuilder<Period.Builder,Period>
  • Method Details

    • unit

      Period.Builder unit(String unit)

      The unit of time.

      Parameters:
      unit - The unit of time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • unit

      The unit of time.

      Parameters:
      unit - The unit of time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      Period.Builder value(Integer value)

      The amount of time of the specified unit.

      Parameters:
      value - The amount of time of the specified unit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxInvocationsPerProfile

      Period.Builder maxInvocationsPerProfile(Integer maxInvocationsPerProfile)

      The maximum allowed number of destination invocations per profile.

      Parameters:
      maxInvocationsPerProfile - The maximum allowed number of destination invocations per profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unlimited

      Period.Builder unlimited(Boolean unlimited)

      If set to true, there is no limit on the number of destination invocations per profile. The default is false.

      Parameters:
      unlimited - If set to true, there is no limit on the number of destination invocations per profile. The default is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.