
commonMain.aws.sdk.kotlin.services.budgets.model.DescribeBudgetNotificationsForAccountRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.budgets.model
public class DescribeBudgetNotificationsForAccountRequest private constructor(builder: Builder) {
/**
* The account ID of the user. It's a 12-digit number.
*/
public val accountId: kotlin.String? = builder.accountId
/**
* An integer that shows how many budget name entries a paginated response contains.
*/
public val maxResults: kotlin.Int? = builder.maxResults
/**
* A generic string.
*/
public val nextToken: kotlin.String? = builder.nextToken
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.budgets.model.DescribeBudgetNotificationsForAccountRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeBudgetNotificationsForAccountRequest(")
append("accountId=$accountId,")
append("maxResults=$maxResults,")
append("nextToken=$nextToken)")
}
override fun hashCode(): kotlin.Int {
var result = accountId?.hashCode() ?: 0
result = 31 * result + (maxResults ?: 0)
result = 31 * result + (nextToken?.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 DescribeBudgetNotificationsForAccountRequest
if (accountId != other.accountId) return false
if (maxResults != other.maxResults) return false
if (nextToken != other.nextToken) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.budgets.model.DescribeBudgetNotificationsForAccountRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The account ID of the user. It's a 12-digit number.
*/
public var accountId: kotlin.String? = null
/**
* An integer that shows how many budget name entries a paginated response contains.
*/
public var maxResults: kotlin.Int? = null
/**
* A generic string.
*/
public var nextToken: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.budgets.model.DescribeBudgetNotificationsForAccountRequest) : this() {
this.accountId = x.accountId
this.maxResults = x.maxResults
this.nextToken = x.nextToken
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.budgets.model.DescribeBudgetNotificationsForAccountRequest = DescribeBudgetNotificationsForAccountRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy