
commonMain.aws.sdk.kotlin.services.ssm.model.InstanceAssociationOutputUrl.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
/**
* The URL of S3 bucket where you want to store the results of this request.
*/
public class InstanceAssociationOutputUrl private constructor(builder: Builder) {
/**
* The URL of S3 bucket where you want to store the results of this request.
*/
public val s3OutputUrl: aws.sdk.kotlin.services.ssm.model.S3OutputUrl? = builder.s3OutputUrl
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.InstanceAssociationOutputUrl = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("InstanceAssociationOutputUrl(")
append("s3OutputUrl=$s3OutputUrl")
append(")")
}
override fun hashCode(): kotlin.Int {
var 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 InstanceAssociationOutputUrl
if (s3OutputUrl != other.s3OutputUrl) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.InstanceAssociationOutputUrl = Builder(this).apply(block).build()
public class Builder {
/**
* The URL of S3 bucket where you want to store the results of this request.
*/
public var s3OutputUrl: aws.sdk.kotlin.services.ssm.model.S3OutputUrl? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.InstanceAssociationOutputUrl) : this() {
this.s3OutputUrl = x.s3OutputUrl
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.InstanceAssociationOutputUrl = InstanceAssociationOutputUrl(this)
/**
* construct an [aws.sdk.kotlin.services.ssm.model.S3OutputUrl] inside the given [block]
*/
public fun s3OutputUrl(block: aws.sdk.kotlin.services.ssm.model.S3OutputUrl.Builder.() -> kotlin.Unit) {
this.s3OutputUrl = aws.sdk.kotlin.services.ssm.model.S3OutputUrl.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy