
commonMain.aws.sdk.kotlin.services.ssm.model.SessionManagerOutputUrl.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.SdkDsl
/**
* Reserved for future use.
*/
public class SessionManagerOutputUrl private constructor(builder: Builder) {
/**
* Reserved for future use.
*/
public val cloudWatchOutputUrl: kotlin.String? = builder.cloudWatchOutputUrl
/**
* Reserved for future use.
*/
public val s3OutputUrl: kotlin.String? = builder.s3OutputUrl
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.SessionManagerOutputUrl = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SessionManagerOutputUrl(")
append("cloudWatchOutputUrl=$cloudWatchOutputUrl,")
append("s3OutputUrl=$s3OutputUrl")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = cloudWatchOutputUrl?.hashCode() ?: 0
result = 31 * result + (s3OutputUrl?.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 SessionManagerOutputUrl
if (cloudWatchOutputUrl != other.cloudWatchOutputUrl) return false
if (s3OutputUrl != other.s3OutputUrl) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.SessionManagerOutputUrl = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Reserved for future use.
*/
public var cloudWatchOutputUrl: kotlin.String? = null
/**
* Reserved for future use.
*/
public var s3OutputUrl: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.SessionManagerOutputUrl) : this() {
this.cloudWatchOutputUrl = x.cloudWatchOutputUrl
this.s3OutputUrl = x.s3OutputUrl
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.SessionManagerOutputUrl = SessionManagerOutputUrl(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy