@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceWindowExecution extends Object implements Serializable, Cloneable, StructuredPojo
Describes the information about an execution of a maintenance window.
Constructor and Description |
---|
MaintenanceWindowExecution() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindowExecution |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The time the execution finished.
|
Date |
getStartTime()
The time the execution started.
|
String |
getStatus()
The status of the execution.
|
String |
getStatusDetails()
The details explaining the status.
|
String |
getWindowExecutionId()
The ID of the maintenance window execution.
|
String |
getWindowId()
The ID of the maintenance window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The time the execution finished.
|
void |
setStartTime(Date startTime)
The time the execution started.
|
void |
setStatus(MaintenanceWindowExecutionStatus status)
The status of the execution.
|
void |
setStatus(String status)
The status of the execution.
|
void |
setStatusDetails(String statusDetails)
The details explaining the status.
|
void |
setWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution.
|
void |
setWindowId(String windowId)
The ID of the maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
MaintenanceWindowExecution |
withEndTime(Date endTime)
The time the execution finished.
|
MaintenanceWindowExecution |
withStartTime(Date startTime)
The time the execution started.
|
MaintenanceWindowExecution |
withStatus(MaintenanceWindowExecutionStatus status)
The status of the execution.
|
MaintenanceWindowExecution |
withStatus(String status)
The status of the execution.
|
MaintenanceWindowExecution |
withStatusDetails(String statusDetails)
The details explaining the status.
|
MaintenanceWindowExecution |
withWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution.
|
MaintenanceWindowExecution |
withWindowId(String windowId)
The ID of the maintenance window.
|
public void setWindowId(String windowId)
The ID of the maintenance window.
windowId
- The ID of the maintenance window.public String getWindowId()
The ID of the maintenance window.
public MaintenanceWindowExecution withWindowId(String windowId)
The ID of the maintenance window.
windowId
- The ID of the maintenance window.public void setWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution.
windowExecutionId
- The ID of the maintenance window execution.public String getWindowExecutionId()
The ID of the maintenance window execution.
public MaintenanceWindowExecution withWindowExecutionId(String windowExecutionId)
The ID of the maintenance window execution.
windowExecutionId
- The ID of the maintenance window execution.public void setStatus(String status)
The status of the execution.
status
- The status of the execution.MaintenanceWindowExecutionStatus
public String getStatus()
The status of the execution.
MaintenanceWindowExecutionStatus
public MaintenanceWindowExecution withStatus(String status)
The status of the execution.
status
- The status of the execution.MaintenanceWindowExecutionStatus
public void setStatus(MaintenanceWindowExecutionStatus status)
The status of the execution.
status
- The status of the execution.MaintenanceWindowExecutionStatus
public MaintenanceWindowExecution withStatus(MaintenanceWindowExecutionStatus status)
The status of the execution.
status
- The status of the execution.MaintenanceWindowExecutionStatus
public void setStatusDetails(String statusDetails)
The details explaining the status. Not available for all status values.
statusDetails
- The details explaining the status. Not available for all status values.public String getStatusDetails()
The details explaining the status. Not available for all status values.
public MaintenanceWindowExecution withStatusDetails(String statusDetails)
The details explaining the status. Not available for all status values.
statusDetails
- The details explaining the status. Not available for all status values.public void setStartTime(Date startTime)
The time the execution started.
startTime
- The time the execution started.public Date getStartTime()
The time the execution started.
public MaintenanceWindowExecution withStartTime(Date startTime)
The time the execution started.
startTime
- The time the execution started.public void setEndTime(Date endTime)
The time the execution finished.
endTime
- The time the execution finished.public Date getEndTime()
The time the execution finished.
public MaintenanceWindowExecution withEndTime(Date endTime)
The time the execution finished.
endTime
- The time the execution finished.public String toString()
toString
in class Object
Object.toString()
public MaintenanceWindowExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.