@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JourneySchedule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the schedule settings for a journey.
Constructor and Description |
---|
JourneySchedule() |
Modifier and Type | Method and Description |
---|---|
JourneySchedule |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The scheduled time, in ISO 8601 format, when the journey ended or will end.
|
Date |
getStartTime()
The scheduled time, in ISO 8601 format, when the journey began or will begin.
|
String |
getTimezone()
The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The scheduled time, in ISO 8601 format, when the journey ended or will end.
|
void |
setStartTime(Date startTime)
The scheduled time, in ISO 8601 format, when the journey began or will begin.
|
void |
setTimezone(String timezone)
The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true.
|
String |
toString()
Returns a string representation of this object.
|
JourneySchedule |
withEndTime(Date endTime)
The scheduled time, in ISO 8601 format, when the journey ended or will end.
|
JourneySchedule |
withStartTime(Date startTime)
The scheduled time, in ISO 8601 format, when the journey began or will begin.
|
JourneySchedule |
withTimezone(String timezone)
The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true.
|
public void setEndTime(Date endTime)
The scheduled time, in ISO 8601 format, when the journey ended or will end.
endTime
- The scheduled time, in ISO 8601 format, when the journey ended or will end.public Date getEndTime()
The scheduled time, in ISO 8601 format, when the journey ended or will end.
public JourneySchedule withEndTime(Date endTime)
The scheduled time, in ISO 8601 format, when the journey ended or will end.
endTime
- The scheduled time, in ISO 8601 format, when the journey ended or will end.public void setStartTime(Date startTime)
The scheduled time, in ISO 8601 format, when the journey began or will begin.
startTime
- The scheduled time, in ISO 8601 format, when the journey began or will begin.public Date getStartTime()
The scheduled time, in ISO 8601 format, when the journey began or will begin.
public JourneySchedule withStartTime(Date startTime)
The scheduled time, in ISO 8601 format, when the journey began or will begin.
startTime
- The scheduled time, in ISO 8601 format, when the journey began or will begin.public void setTimezone(String timezone)
The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+08:45, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+12:45, UTC+13, UTC+13:45, UTC-02, UTC-02:30, UTC-03, UTC-03:30, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-09:30, UTC-10, and UTC-11.
timezone
- The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is
true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30,
UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+08:45, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11,
UTC+12, UTC+12:45, UTC+13, UTC+13:45, UTC-02, UTC-02:30, UTC-03, UTC-03:30, UTC-04, UTC-05, UTC-06,
UTC-07, UTC-08, UTC-09, UTC-09:30, UTC-10, and UTC-11.public String getTimezone()
The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+08:45, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+12:45, UTC+13, UTC+13:45, UTC-02, UTC-02:30, UTC-03, UTC-03:30, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-09:30, UTC-10, and UTC-11.
public JourneySchedule withTimezone(String timezone)
The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30, UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+08:45, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11, UTC+12, UTC+12:45, UTC+13, UTC+13:45, UTC-02, UTC-02:30, UTC-03, UTC-03:30, UTC-04, UTC-05, UTC-06, UTC-07, UTC-08, UTC-09, UTC-09:30, UTC-10, and UTC-11.
timezone
- The starting UTC offset for the journey schedule, if the value of the journey's LocalTime property is
true. Valid values are: UTC, UTC+01, UTC+02, UTC+03, UTC+03:30, UTC+04, UTC+04:30, UTC+05, UTC+05:30,
UTC+05:45, UTC+06, UTC+06:30, UTC+07, UTC+08, UTC+08:45, UTC+09, UTC+09:30, UTC+10, UTC+10:30, UTC+11,
UTC+12, UTC+12:45, UTC+13, UTC+13:45, UTC-02, UTC-02:30, UTC-03, UTC-03:30, UTC-04, UTC-05, UTC-06,
UTC-07, UTC-08, UTC-09, UTC-09:30, UTC-10, and UTC-11.public String toString()
toString
in class Object
Object.toString()
public JourneySchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.