* The maintenance window execution ID. *
*/ private String windowExecutionId; /** ** The task execution ID. *
*/ private String taskExecutionId; /** ** The invocation ID. *
*/ private String invocationId; /** ** The execution ID. *
*/ private String executionId; /** ** Retrieves the task type for a maintenance window. *
*/ private String taskType; /** ** The parameters used at the time that the task ran. *
*/ private String parameters; /** ** The task status for an invocation. *
*/ private String status; /** ** The details explaining the status. Details are only available for certain status values. *
*/ private String statusDetails; /** ** The time that the task started running on the target. *
*/ private java.util.Date startTime; /** ** The time that the task finished running on the target. *
*/ private java.util.Date endTime; /** ** User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while * running tasks for these targets in this maintenance window. *
*/ private String ownerInformation; /** ** The maintenance window target ID. *
*/ private String windowTargetId; /** ** The maintenance window execution ID. *
* * @param windowExecutionId * The maintenance window execution ID. */ public void setWindowExecutionId(String windowExecutionId) { this.windowExecutionId = windowExecutionId; } /** ** The maintenance window execution ID. *
* * @return The maintenance window execution ID. */ public String getWindowExecutionId() { return this.windowExecutionId; } /** ** The maintenance window execution ID. *
* * @param windowExecutionId * The maintenance window execution ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withWindowExecutionId(String windowExecutionId) { setWindowExecutionId(windowExecutionId); return this; } /** ** The task execution ID. *
* * @param taskExecutionId * The task execution ID. */ public void setTaskExecutionId(String taskExecutionId) { this.taskExecutionId = taskExecutionId; } /** ** The task execution ID. *
* * @return The task execution ID. */ public String getTaskExecutionId() { return this.taskExecutionId; } /** ** The task execution ID. *
* * @param taskExecutionId * The task execution ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withTaskExecutionId(String taskExecutionId) { setTaskExecutionId(taskExecutionId); return this; } /** ** The invocation ID. *
* * @param invocationId * The invocation ID. */ public void setInvocationId(String invocationId) { this.invocationId = invocationId; } /** ** The invocation ID. *
* * @return The invocation ID. */ public String getInvocationId() { return this.invocationId; } /** ** The invocation ID. *
* * @param invocationId * The invocation ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withInvocationId(String invocationId) { setInvocationId(invocationId); return this; } /** ** The execution ID. *
* * @param executionId * The execution ID. */ public void setExecutionId(String executionId) { this.executionId = executionId; } /** ** The execution ID. *
* * @return The execution ID. */ public String getExecutionId() { return this.executionId; } /** ** The execution ID. *
* * @param executionId * The execution ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withExecutionId(String executionId) { setExecutionId(executionId); return this; } /** ** Retrieves the task type for a maintenance window. *
* * @param taskType * Retrieves the task type for a maintenance window. * @see MaintenanceWindowTaskType */ public void setTaskType(String taskType) { this.taskType = taskType; } /** ** Retrieves the task type for a maintenance window. *
* * @return Retrieves the task type for a maintenance window. * @see MaintenanceWindowTaskType */ public String getTaskType() { return this.taskType; } /** ** Retrieves the task type for a maintenance window. *
* * @param taskType * Retrieves the task type for a maintenance window. * @return Returns a reference to this object so that method calls can be chained together. * @see MaintenanceWindowTaskType */ public GetMaintenanceWindowExecutionTaskInvocationResult withTaskType(String taskType) { setTaskType(taskType); return this; } /** ** Retrieves the task type for a maintenance window. *
* * @param taskType * Retrieves the task type for a maintenance window. * @return Returns a reference to this object so that method calls can be chained together. * @see MaintenanceWindowTaskType */ public GetMaintenanceWindowExecutionTaskInvocationResult withTaskType(MaintenanceWindowTaskType taskType) { this.taskType = taskType.toString(); return this; } /** ** The parameters used at the time that the task ran. *
* * @param parameters * The parameters used at the time that the task ran. */ public void setParameters(String parameters) { this.parameters = parameters; } /** ** The parameters used at the time that the task ran. *
* * @return The parameters used at the time that the task ran. */ public String getParameters() { return this.parameters; } /** ** The parameters used at the time that the task ran. *
* * @param parameters * The parameters used at the time that the task ran. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withParameters(String parameters) { setParameters(parameters); return this; } /** ** The task status for an invocation. *
* * @param status * The task status for an invocation. * @see MaintenanceWindowExecutionStatus */ public void setStatus(String status) { this.status = status; } /** ** The task status for an invocation. *
* * @return The task status for an invocation. * @see MaintenanceWindowExecutionStatus */ public String getStatus() { return this.status; } /** ** The task status for an invocation. *
* * @param status * The task status for an invocation. * @return Returns a reference to this object so that method calls can be chained together. * @see MaintenanceWindowExecutionStatus */ public GetMaintenanceWindowExecutionTaskInvocationResult withStatus(String status) { setStatus(status); return this; } /** ** The task status for an invocation. *
* * @param status * The task status for an invocation. * @return Returns a reference to this object so that method calls can be chained together. * @see MaintenanceWindowExecutionStatus */ public GetMaintenanceWindowExecutionTaskInvocationResult withStatus(MaintenanceWindowExecutionStatus status) { this.status = status.toString(); return this; } /** ** The details explaining the status. Details are only available for certain status values. *
* * @param statusDetails * The details explaining the status. Details are only available for certain status values. */ public void setStatusDetails(String statusDetails) { this.statusDetails = statusDetails; } /** ** The details explaining the status. Details are only available for certain status values. *
* * @return The details explaining the status. Details are only available for certain status values. */ public String getStatusDetails() { return this.statusDetails; } /** ** The details explaining the status. Details are only available for certain status values. *
* * @param statusDetails * The details explaining the status. Details are only available for certain status values. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withStatusDetails(String statusDetails) { setStatusDetails(statusDetails); return this; } /** ** The time that the task started running on the target. *
* * @param startTime * The time that the task started running on the target. */ public void setStartTime(java.util.Date startTime) { this.startTime = startTime; } /** ** The time that the task started running on the target. *
* * @return The time that the task started running on the target. */ public java.util.Date getStartTime() { return this.startTime; } /** ** The time that the task started running on the target. *
* * @param startTime * The time that the task started running on the target. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withStartTime(java.util.Date startTime) { setStartTime(startTime); return this; } /** ** The time that the task finished running on the target. *
* * @param endTime * The time that the task finished running on the target. */ public void setEndTime(java.util.Date endTime) { this.endTime = endTime; } /** ** The time that the task finished running on the target. *
* * @return The time that the task finished running on the target. */ public java.util.Date getEndTime() { return this.endTime; } /** ** The time that the task finished running on the target. *
* * @param endTime * The time that the task finished running on the target. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withEndTime(java.util.Date endTime) { setEndTime(endTime); return this; } /** ** User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while * running tasks for these targets in this maintenance window. *
* * @param ownerInformation * User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised * while running tasks for these targets in this maintenance window. */ public void setOwnerInformation(String ownerInformation) { this.ownerInformation = ownerInformation; } /** ** User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while * running tasks for these targets in this maintenance window. *
* * @return User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised * while running tasks for these targets in this maintenance window. */ public String getOwnerInformation() { return this.ownerInformation; } /** ** User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised while * running tasks for these targets in this maintenance window. *
* * @param ownerInformation * User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge events raised * while running tasks for these targets in this maintenance window. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withOwnerInformation(String ownerInformation) { setOwnerInformation(ownerInformation); return this; } /** ** The maintenance window target ID. *
* * @param windowTargetId * The maintenance window target ID. */ public void setWindowTargetId(String windowTargetId) { this.windowTargetId = windowTargetId; } /** ** The maintenance window target ID. *
* * @return The maintenance window target ID. */ public String getWindowTargetId() { return this.windowTargetId; } /** ** The maintenance window target ID. *
* * @param windowTargetId * The maintenance window target ID. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMaintenanceWindowExecutionTaskInvocationResult withWindowTargetId(String windowTargetId) { setWindowTargetId(windowTargetId); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getWindowExecutionId() != null) sb.append("WindowExecutionId: ").append(getWindowExecutionId()).append(","); if (getTaskExecutionId() != null) sb.append("TaskExecutionId: ").append(getTaskExecutionId()).append(","); if (getInvocationId() != null) sb.append("InvocationId: ").append(getInvocationId()).append(","); if (getExecutionId() != null) sb.append("ExecutionId: ").append(getExecutionId()).append(","); if (getTaskType() != null) sb.append("TaskType: ").append(getTaskType()).append(","); if (getParameters() != null) sb.append("Parameters: ").append("***Sensitive Data Redacted***").append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getStatusDetails() != null) sb.append("StatusDetails: ").append(getStatusDetails()).append(","); if (getStartTime() != null) sb.append("StartTime: ").append(getStartTime()).append(","); if (getEndTime() != null) sb.append("EndTime: ").append(getEndTime()).append(","); if (getOwnerInformation() != null) sb.append("OwnerInformation: ").append("***Sensitive Data Redacted***").append(","); if (getWindowTargetId() != null) sb.append("WindowTargetId: ").append(getWindowTargetId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetMaintenanceWindowExecutionTaskInvocationResult == false) return false; GetMaintenanceWindowExecutionTaskInvocationResult other = (GetMaintenanceWindowExecutionTaskInvocationResult) obj; if (other.getWindowExecutionId() == null ^ this.getWindowExecutionId() == null) return false; if (other.getWindowExecutionId() != null && other.getWindowExecutionId().equals(this.getWindowExecutionId()) == false) return false; if (other.getTaskExecutionId() == null ^ this.getTaskExecutionId() == null) return false; if (other.getTaskExecutionId() != null && other.getTaskExecutionId().equals(this.getTaskExecutionId()) == false) return false; if (other.getInvocationId() == null ^ this.getInvocationId() == null) return false; if (other.getInvocationId() != null && other.getInvocationId().equals(this.getInvocationId()) == false) return false; if (other.getExecutionId() == null ^ this.getExecutionId() == null) return false; if (other.getExecutionId() != null && other.getExecutionId().equals(this.getExecutionId()) == false) return false; if (other.getTaskType() == null ^ this.getTaskType() == null) return false; if (other.getTaskType() != null && other.getTaskType().equals(this.getTaskType()) == false) return false; if (other.getParameters() == null ^ this.getParameters() == null) return false; if (other.getParameters() != null && other.getParameters().equals(this.getParameters()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getStatusDetails() == null ^ this.getStatusDetails() == null) return false; if (other.getStatusDetails() != null && other.getStatusDetails().equals(this.getStatusDetails()) == false) return false; if (other.getStartTime() == null ^ this.getStartTime() == null) return false; if (other.getStartTime() != null && other.getStartTime().equals(this.getStartTime()) == false) return false; if (other.getEndTime() == null ^ this.getEndTime() == null) return false; if (other.getEndTime() != null && other.getEndTime().equals(this.getEndTime()) == false) return false; if (other.getOwnerInformation() == null ^ this.getOwnerInformation() == null) return false; if (other.getOwnerInformation() != null && other.getOwnerInformation().equals(this.getOwnerInformation()) == false) return false; if (other.getWindowTargetId() == null ^ this.getWindowTargetId() == null) return false; if (other.getWindowTargetId() != null && other.getWindowTargetId().equals(this.getWindowTargetId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getWindowExecutionId() == null) ? 0 : getWindowExecutionId().hashCode()); hashCode = prime * hashCode + ((getTaskExecutionId() == null) ? 0 : getTaskExecutionId().hashCode()); hashCode = prime * hashCode + ((getInvocationId() == null) ? 0 : getInvocationId().hashCode()); hashCode = prime * hashCode + ((getExecutionId() == null) ? 0 : getExecutionId().hashCode()); hashCode = prime * hashCode + ((getTaskType() == null) ? 0 : getTaskType().hashCode()); hashCode = prime * hashCode + ((getParameters() == null) ? 0 : getParameters().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getStatusDetails() == null) ? 0 : getStatusDetails().hashCode()); hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode()); hashCode = prime * hashCode + ((getEndTime() == null) ? 0 : getEndTime().hashCode()); hashCode = prime * hashCode + ((getOwnerInformation() == null) ? 0 : getOwnerInformation().hashCode()); hashCode = prime * hashCode + ((getWindowTargetId() == null) ? 0 : getWindowTargetId().hashCode()); return hashCode; } @Override public GetMaintenanceWindowExecutionTaskInvocationResult clone() { try { return (GetMaintenanceWindowExecutionTaskInvocationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }