Class Occurrence.Builder

  • Enclosing class:
    Occurrence

    public static final class Occurrence.Builder
    extends java.lang.Object
    • Method Detail

      • canceled

        public Occurrence.Builder canceled​(boolean canceled)
        If set to true, will cancel the occurrence. If set false will resume the occurrence. If unset leaves the value unchanged.
      • canceled

        public Occurrence.Builder canceled​(java.util.Optional<java.lang.Boolean> canceled)
        If set to true, will cancel the occurrence. If set false will resume the occurrence. If unset leaves the value unchanged.
      • occurrenceID

        public Occurrence.Builder occurrenceID​(java.lang.String occurrenceID)
        If set this defines what occurrence to modify, if invalid will fail the request. If null or "" it defines to add a new occurrence.
      • occurrenceID

        public Occurrence.Builder occurrenceID​(java.util.Optional<java.lang.String> occurrenceID)
        If set this defines what occurrence to modify, if invalid will fail the request. If null or "" it defines to add a new occurrence.
      • runOn

        public Occurrence.Builder runOn​(java.time.OffsetDateTime runOn)
        Timestamp to run the transfer after. Value must be into the future.
      • runOn

        public Occurrence.Builder runOn​(java.util.Optional<java.time.OffsetDateTime> runOn)
        Timestamp to run the transfer after. Value must be into the future.
      • runTransfer

        public Occurrence.Builder runTransfer​(java.util.Optional<? extends RunTransfer> runTransfer)
        Defines the attributes of a transfer.