commonMain.aws.sdk.kotlin.services.applicationinsights.model.DescribeProblemObservationsRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of applicationinsights-jvm Show documentation
Show all versions of applicationinsights-jvm Show documentation
The AWS SDK for Kotlin client for Application Insights
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.applicationinsights.model
import aws.smithy.kotlin.runtime.SdkDsl
public class DescribeProblemObservationsRequest private constructor(builder: Builder) {
/**
* The AWS account ID for the resource group owner.
*/
public val accountId: kotlin.String? = builder.accountId
/**
* The ID of the problem.
*/
public val problemId: kotlin.String? = builder.problemId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.applicationinsights.model.DescribeProblemObservationsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeProblemObservationsRequest(")
append("accountId=$accountId,")
append("problemId=$problemId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = accountId?.hashCode() ?: 0
result = 31 * result + (problemId?.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 DescribeProblemObservationsRequest
if (accountId != other.accountId) return false
if (problemId != other.problemId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.applicationinsights.model.DescribeProblemObservationsRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The AWS account ID for the resource group owner.
*/
public var accountId: kotlin.String? = null
/**
* The ID of the problem.
*/
public var problemId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.applicationinsights.model.DescribeProblemObservationsRequest) : this() {
this.accountId = x.accountId
this.problemId = x.problemId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.applicationinsights.model.DescribeProblemObservationsRequest = DescribeProblemObservationsRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy