Class AppointmentSlot
- java.lang.Object
-
- software.amazon.spapi.models.services.v1.AppointmentSlot
-
public class AppointmentSlot extends java.lang.Object
A time window along with associated capacity in which the service can be performed.
-
-
Constructor Summary
Constructors Constructor Description AppointmentSlot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppointmentSlot
capacity(java.lang.Integer capacity)
AppointmentSlot
endTime(org.threeten.bp.OffsetDateTime endTime)
boolean
equals(java.lang.Object o)
java.lang.Integer
getCapacity()
Number of resources for which a slot can be reserved.org.threeten.bp.OffsetDateTime
getEndTime()
Time window end time in ISO 8601 format.org.threeten.bp.OffsetDateTime
getStartTime()
Time window start time in ISO 8601 format.int
hashCode()
void
setCapacity(java.lang.Integer capacity)
void
setEndTime(org.threeten.bp.OffsetDateTime endTime)
void
setStartTime(org.threeten.bp.OffsetDateTime startTime)
AppointmentSlot
startTime(org.threeten.bp.OffsetDateTime startTime)
java.lang.String
toString()
-
-
-
Method Detail
-
startTime
public AppointmentSlot startTime(org.threeten.bp.OffsetDateTime startTime)
-
getStartTime
public org.threeten.bp.OffsetDateTime getStartTime()
Time window start time in ISO 8601 format.- Returns:
- startTime
-
setStartTime
public void setStartTime(org.threeten.bp.OffsetDateTime startTime)
-
endTime
public AppointmentSlot endTime(org.threeten.bp.OffsetDateTime endTime)
-
getEndTime
public org.threeten.bp.OffsetDateTime getEndTime()
Time window end time in ISO 8601 format.- Returns:
- endTime
-
setEndTime
public void setEndTime(org.threeten.bp.OffsetDateTime endTime)
-
capacity
public AppointmentSlot capacity(java.lang.Integer capacity)
-
getCapacity
public java.lang.Integer getCapacity()
Number of resources for which a slot can be reserved. minimum: 0- Returns:
- capacity
-
setCapacity
public void setCapacity(java.lang.Integer capacity)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-