Package com.mapsindoors.mapssdk
Class MPBooking.Builder
- java.lang.Object
-
- com.mapsindoors.mapssdk.MPBooking.Builder
-
- Enclosing class:
- MPBooking
public static class MPBooking.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPBooking
build()
MPBooking.Builder
setDescription(java.lang.String description)
MPBooking.Builder
setEndTime(java.util.Date endTime)
MPBooking.Builder
setLocation(MPLocation location)
MPBooking.Builder
setLocationID(java.lang.String locationID)
MPBooking.Builder
setParticipants(java.lang.String[] participants)
MPBooking.Builder
setStartTime(java.util.Date startTime)
MPBooking.Builder
setTimespan(java.util.Date start, java.util.Date end)
MPBooking.Builder
setTitle(java.lang.String title)
-
-
-
Method Detail
-
setLocation
@NonNull public MPBooking.Builder setLocation(@Nullable MPLocation location)
-
setLocationID
@NonNull public MPBooking.Builder setLocationID(@Nullable java.lang.String locationID)
-
setStartTime
@NonNull public MPBooking.Builder setStartTime(@Nullable java.util.Date startTime)
-
setEndTime
@NonNull public MPBooking.Builder setEndTime(@Nullable java.util.Date endTime)
-
setTimespan
@NonNull public MPBooking.Builder setTimespan(@Nullable java.util.Date start, @Nullable java.util.Date end)
-
setParticipants
@NonNull public MPBooking.Builder setParticipants(@Nullable java.lang.String[] participants)
-
setTitle
@NonNull public MPBooking.Builder setTitle(@Nullable java.lang.String title)
-
setDescription
@NonNull public MPBooking.Builder setDescription(@Nullable java.lang.String description)
-
build
@Nullable public MPBooking build()
-
-