@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WeeklySchedule extends Object implements Serializable, Cloneable, StructuredPojo
A weekly schedule.
Constructor and Description |
---|
WeeklySchedule() |
Modifier and Type | Method and Description |
---|---|
WeeklySchedule |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDays()
The weekly schedule's days.
|
Time |
getStartTime()
The weekly schedule's start time.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDays(Collection<String> days)
The weekly schedule's days.
|
void |
setStartTime(Time startTime)
The weekly schedule's start time.
|
String |
toString()
Returns a string representation of this object.
|
WeeklySchedule |
withDays(Collection<String> days)
The weekly schedule's days.
|
WeeklySchedule |
withDays(Day... days)
The weekly schedule's days.
|
WeeklySchedule |
withDays(String... days)
The weekly schedule's days.
|
WeeklySchedule |
withStartTime(Time startTime)
The weekly schedule's start time.
|
public List<String> getDays()
The weekly schedule's days.
Day
public void setDays(Collection<String> days)
The weekly schedule's days.
days
- The weekly schedule's days.Day
public WeeklySchedule withDays(String... days)
The weekly schedule's days.
NOTE: This method appends the values to the existing list (if any). Use
setDays(java.util.Collection)
or withDays(java.util.Collection)
if you want to override the
existing values.
days
- The weekly schedule's days.Day
public WeeklySchedule withDays(Collection<String> days)
The weekly schedule's days.
days
- The weekly schedule's days.Day
public WeeklySchedule withDays(Day... days)
The weekly schedule's days.
days
- The weekly schedule's days.Day
public void setStartTime(Time startTime)
The weekly schedule's start time.
startTime
- The weekly schedule's start time.public Time getStartTime()
The weekly schedule's start time.
public WeeklySchedule withStartTime(Time startTime)
The weekly schedule's start time.
startTime
- The weekly schedule's start time.public String toString()
toString
in class Object
Object.toString()
public WeeklySchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.