Class Inbound.Builder<T,B extends Inbound.Builder<T,B>>

java.lang.Object
com.sinch.sdk.domains.sms.models.Inbound.Builder<T,B>
Direct Known Subclasses:
InboundBinary.Builder, InboundText.Builder
Enclosing class:
Inbound<T>

public abstract static class Inbound.Builder<T,B extends Inbound.Builder<T,B>> extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setBody

      public B setBody(T body)
    • setFrom

      public B setFrom(String from)
    • setId

      public B setId(String id)
    • setReceivedAt

      public B setReceivedAt(Instant receivedAt)
    • setTo

      public B setTo(String to)
    • setClientReference

      public B setClientReference(String clientReference)
    • setOperatorId

      public B setOperatorId(String operatorId)
    • setSentAt

      public B setSentAt(Instant sentAt)
    • build

      public abstract Inbound<?> build()