Class AvailabilityRecord
- java.lang.Object
-
- software.amazon.spapi.models.services.v1.AvailabilityRecord
-
public class AvailabilityRecord extends java.lang.Object
`AvailabilityRecord` to represent the capacity of a resource over a time range.
-
-
Constructor Summary
Constructors Constructor Description AvailabilityRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailabilityRecord
capacity(java.lang.Integer capacity)
AvailabilityRecord
endTime(org.threeten.bp.OffsetDateTime endTime)
boolean
equals(java.lang.Object o)
java.lang.Integer
getCapacity()
Signifies the capacity of a resource which is available.org.threeten.bp.OffsetDateTime
getEndTime()
Denotes the time till when the resource is available in a day in ISO-8601 format.Recurrence
getRecurrence()
Get recurrenceorg.threeten.bp.OffsetDateTime
getStartTime()
Denotes the time from when the resource is available in a day in ISO-8601 format.int
hashCode()
AvailabilityRecord
recurrence(Recurrence recurrence)
void
setCapacity(java.lang.Integer capacity)
void
setEndTime(org.threeten.bp.OffsetDateTime endTime)
void
setRecurrence(Recurrence recurrence)
void
setStartTime(org.threeten.bp.OffsetDateTime startTime)
AvailabilityRecord
startTime(org.threeten.bp.OffsetDateTime startTime)
java.lang.String
toString()
-
-
-
Method Detail
-
startTime
public AvailabilityRecord startTime(org.threeten.bp.OffsetDateTime startTime)
-
getStartTime
public org.threeten.bp.OffsetDateTime getStartTime()
Denotes the time from when the resource is available in a day in ISO-8601 format.- Returns:
- startTime
-
setStartTime
public void setStartTime(org.threeten.bp.OffsetDateTime startTime)
-
endTime
public AvailabilityRecord endTime(org.threeten.bp.OffsetDateTime endTime)
-
getEndTime
public org.threeten.bp.OffsetDateTime getEndTime()
Denotes the time till when the resource is available in a day in ISO-8601 format.- Returns:
- endTime
-
setEndTime
public void setEndTime(org.threeten.bp.OffsetDateTime endTime)
-
recurrence
public AvailabilityRecord recurrence(Recurrence recurrence)
-
getRecurrence
public Recurrence getRecurrence()
Get recurrence- Returns:
- recurrence
-
setRecurrence
public void setRecurrence(Recurrence recurrence)
-
capacity
public AvailabilityRecord capacity(java.lang.Integer capacity)
-
getCapacity
public java.lang.Integer getCapacity()
Signifies the capacity of a resource which is available. minimum: 1- 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
-
-