
commonMain.aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
import aws.smithy.kotlin.runtime.time.Instant
public class GetMaintenanceWindowExecutionTaskInvocationResponse private constructor(builder: Builder) {
/**
* The time that the task finished running on the target.
*/
public val endTime: aws.smithy.kotlin.runtime.time.Instant? = builder.endTime
/**
* The execution ID.
*/
public val executionId: kotlin.String? = builder.executionId
/**
* The invocation ID.
*/
public val invocationId: kotlin.String? = builder.invocationId
/**
* 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 val ownerInformation: kotlin.String? = builder.ownerInformation
/**
* The parameters used at the time that the task ran.
*/
public val parameters: kotlin.String? = builder.parameters
/**
* The time that the task started running on the target.
*/
public val startTime: aws.smithy.kotlin.runtime.time.Instant? = builder.startTime
/**
* The task status for an invocation.
*/
public val status: aws.sdk.kotlin.services.ssm.model.MaintenanceWindowExecutionStatus? = builder.status
/**
* The details explaining the status. Details are only available for certain status values.
*/
public val statusDetails: kotlin.String? = builder.statusDetails
/**
* The task execution ID.
*/
public val taskExecutionId: kotlin.String? = builder.taskExecutionId
/**
* Retrieves the task type for a maintenance window.
*/
public val taskType: aws.sdk.kotlin.services.ssm.model.MaintenanceWindowTaskType? = builder.taskType
/**
* The maintenance window execution ID.
*/
public val windowExecutionId: kotlin.String? = builder.windowExecutionId
/**
* The maintenance window target ID.
*/
public val windowTargetId: kotlin.String? = builder.windowTargetId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetMaintenanceWindowExecutionTaskInvocationResponse(")
append("endTime=$endTime,")
append("executionId=$executionId,")
append("invocationId=$invocationId,")
append("ownerInformation=*** Sensitive Data Redacted ***,")
append("parameters=*** Sensitive Data Redacted ***,")
append("startTime=$startTime,")
append("status=$status,")
append("statusDetails=$statusDetails,")
append("taskExecutionId=$taskExecutionId,")
append("taskType=$taskType,")
append("windowExecutionId=$windowExecutionId,")
append("windowTargetId=$windowTargetId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = endTime?.hashCode() ?: 0
result = 31 * result + (executionId?.hashCode() ?: 0)
result = 31 * result + (invocationId?.hashCode() ?: 0)
result = 31 * result + (ownerInformation?.hashCode() ?: 0)
result = 31 * result + (parameters?.hashCode() ?: 0)
result = 31 * result + (startTime?.hashCode() ?: 0)
result = 31 * result + (status?.hashCode() ?: 0)
result = 31 * result + (statusDetails?.hashCode() ?: 0)
result = 31 * result + (taskExecutionId?.hashCode() ?: 0)
result = 31 * result + (taskType?.hashCode() ?: 0)
result = 31 * result + (windowExecutionId?.hashCode() ?: 0)
result = 31 * result + (windowTargetId?.hashCode() ?: 0)
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as GetMaintenanceWindowExecutionTaskInvocationResponse
if (endTime != other.endTime) return false
if (executionId != other.executionId) return false
if (invocationId != other.invocationId) return false
if (ownerInformation != other.ownerInformation) return false
if (parameters != other.parameters) return false
if (startTime != other.startTime) return false
if (status != other.status) return false
if (statusDetails != other.statusDetails) return false
if (taskExecutionId != other.taskExecutionId) return false
if (taskType != other.taskType) return false
if (windowExecutionId != other.windowExecutionId) return false
if (windowTargetId != other.windowTargetId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The time that the task finished running on the target.
*/
public var endTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The execution ID.
*/
public var executionId: kotlin.String? = null
/**
* The invocation ID.
*/
public var invocationId: kotlin.String? = null
/**
* 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 var ownerInformation: kotlin.String? = null
/**
* The parameters used at the time that the task ran.
*/
public var parameters: kotlin.String? = null
/**
* The time that the task started running on the target.
*/
public var startTime: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The task status for an invocation.
*/
public var status: aws.sdk.kotlin.services.ssm.model.MaintenanceWindowExecutionStatus? = null
/**
* The details explaining the status. Details are only available for certain status values.
*/
public var statusDetails: kotlin.String? = null
/**
* The task execution ID.
*/
public var taskExecutionId: kotlin.String? = null
/**
* Retrieves the task type for a maintenance window.
*/
public var taskType: aws.sdk.kotlin.services.ssm.model.MaintenanceWindowTaskType? = null
/**
* The maintenance window execution ID.
*/
public var windowExecutionId: kotlin.String? = null
/**
* The maintenance window target ID.
*/
public var windowTargetId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationResponse) : this() {
this.endTime = x.endTime
this.executionId = x.executionId
this.invocationId = x.invocationId
this.ownerInformation = x.ownerInformation
this.parameters = x.parameters
this.startTime = x.startTime
this.status = x.status
this.statusDetails = x.statusDetails
this.taskExecutionId = x.taskExecutionId
this.taskType = x.taskType
this.windowExecutionId = x.windowExecutionId
this.windowTargetId = x.windowTargetId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationResponse = GetMaintenanceWindowExecutionTaskInvocationResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy