public static class SendWindow.Builder extends Object
Constructor and Description |
---|
Builder(XMLGregorianCalendar startDateTime)
Set when the message should be sent.
|
Builder(XMLGregorianCalendar startDate,
XMLGregorianCalendar startTime)
Set when the message should be sent.
|
Modifier and Type | Method and Description |
---|---|
SendWindow |
build() |
SendWindow.Builder |
withStopDate(XMLGregorianCalendar stopDate) |
SendWindow.Builder |
withStopDateTime(XMLGregorianCalendar stopDateTime) |
SendWindow.Builder |
withStopTime(XMLGregorianCalendar stopTime) |
public Builder(XMLGregorianCalendar startDate, XMLGregorianCalendar startTime)
startDate
- the date to send the messagestartTime
- the time to send the messagepublic Builder(XMLGregorianCalendar startDateTime)
startDateTime
- the datetime to send the messagepublic SendWindow.Builder withStopDate(XMLGregorianCalendar stopDate)
stopDate
- the datepublic SendWindow.Builder withStopTime(XMLGregorianCalendar stopTime)
stopTime
- public SendWindow.Builder withStopDateTime(XMLGregorianCalendar stopDateTime)
stopDateTime
- public SendWindow build()
Copyright © 2016. All rights reserved.