@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceSchedule extends Object implements Serializable, Cloneable, StructuredPojo
The information about the maintenance schedule.
Constructor and Description |
---|
MaintenanceSchedule() |
Modifier and Type | Method and Description |
---|---|
MaintenanceSchedule |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The time the scheduled maintenance is to end.
|
Date |
getStartTime()
The time the scheduled maintenance is to start.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The time the scheduled maintenance is to end.
|
void |
setStartTime(Date startTime)
The time the scheduled maintenance is to start.
|
String |
toString()
Returns a string representation of this object.
|
MaintenanceSchedule |
withEndTime(Date endTime)
The time the scheduled maintenance is to end.
|
MaintenanceSchedule |
withStartTime(Date startTime)
The time the scheduled maintenance is to start.
|
public void setEndTime(Date endTime)
The time the scheduled maintenance is to end.
endTime
- The time the scheduled maintenance is to end.public Date getEndTime()
The time the scheduled maintenance is to end.
public MaintenanceSchedule withEndTime(Date endTime)
The time the scheduled maintenance is to end.
endTime
- The time the scheduled maintenance is to end.public void setStartTime(Date startTime)
The time the scheduled maintenance is to start.
startTime
- The time the scheduled maintenance is to start.public Date getStartTime()
The time the scheduled maintenance is to start.
public MaintenanceSchedule withStartTime(Date startTime)
The time the scheduled maintenance is to start.
startTime
- The time the scheduled maintenance is to start.public String toString()
toString
in class Object
Object.toString()
public MaintenanceSchedule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.