
commonMain.aws.sdk.kotlin.services.ssm.model.DescribeMaintenanceWindowExecutionTaskInvocationsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
public class DescribeMaintenanceWindowExecutionTaskInvocationsResponse private constructor(builder: Builder) {
/**
* The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* Information about the task invocation results per invocation.
*/
public val windowExecutionTaskInvocationIdentities: List? = builder.windowExecutionTaskInvocationIdentities
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.DescribeMaintenanceWindowExecutionTaskInvocationsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeMaintenanceWindowExecutionTaskInvocationsResponse(")
append("nextToken=$nextToken,")
append("windowExecutionTaskInvocationIdentities=$windowExecutionTaskInvocationIdentities")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = nextToken?.hashCode() ?: 0
result = 31 * result + (windowExecutionTaskInvocationIdentities?.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 DescribeMaintenanceWindowExecutionTaskInvocationsResponse
if (nextToken != other.nextToken) return false
if (windowExecutionTaskInvocationIdentities != other.windowExecutionTaskInvocationIdentities) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.DescribeMaintenanceWindowExecutionTaskInvocationsResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
*/
public var nextToken: kotlin.String? = null
/**
* Information about the task invocation results per invocation.
*/
public var windowExecutionTaskInvocationIdentities: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.DescribeMaintenanceWindowExecutionTaskInvocationsResponse) : this() {
this.nextToken = x.nextToken
this.windowExecutionTaskInvocationIdentities = x.windowExecutionTaskInvocationIdentities
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.DescribeMaintenanceWindowExecutionTaskInvocationsResponse = DescribeMaintenanceWindowExecutionTaskInvocationsResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy