
commonMain.aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
public class GetMaintenanceWindowExecutionTaskInvocationRequest private constructor(builder: Builder) {
/**
* The invocation ID to retrieve.
*/
public val invocationId: kotlin.String? = builder.invocationId
/**
* The ID of the specific task in the maintenance window task that should be retrieved.
*/
public val taskId: kotlin.String? = builder.taskId
/**
* The ID of the maintenance window execution for which the task is a part.
*/
public val windowExecutionId: kotlin.String? = builder.windowExecutionId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetMaintenanceWindowExecutionTaskInvocationRequest(")
append("invocationId=$invocationId,")
append("taskId=$taskId,")
append("windowExecutionId=$windowExecutionId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = invocationId?.hashCode() ?: 0
result = 31 * result + (taskId?.hashCode() ?: 0)
result = 31 * result + (windowExecutionId?.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 GetMaintenanceWindowExecutionTaskInvocationRequest
if (invocationId != other.invocationId) return false
if (taskId != other.taskId) return false
if (windowExecutionId != other.windowExecutionId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The invocation ID to retrieve.
*/
public var invocationId: kotlin.String? = null
/**
* The ID of the specific task in the maintenance window task that should be retrieved.
*/
public var taskId: kotlin.String? = null
/**
* The ID of the maintenance window execution for which the task is a part.
*/
public var windowExecutionId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationRequest) : this() {
this.invocationId = x.invocationId
this.taskId = x.taskId
this.windowExecutionId = x.windowExecutionId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.GetMaintenanceWindowExecutionTaskInvocationRequest = GetMaintenanceWindowExecutionTaskInvocationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy