
commonMain.aws.sdk.kotlin.services.budgets.model.ExecuteBudgetActionResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.budgets.model
public class ExecuteBudgetActionResponse private constructor(builder: Builder) {
/**
* The account ID of the user. It's a 12-digit number.
*/
public val accountId: kotlin.String? = builder.accountId
/**
* A system-generated universally unique identifier (UUID) for the action.
*/
public val actionId: kotlin.String? = builder.actionId
/**
* A string that represents the budget name. The ":" and "\" characters aren't allowed.
*/
public val budgetName: kotlin.String? = builder.budgetName
/**
* The type of execution.
*/
public val executionType: aws.sdk.kotlin.services.budgets.model.ExecutionType? = builder.executionType
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.budgets.model.ExecuteBudgetActionResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ExecuteBudgetActionResponse(")
append("accountId=$accountId,")
append("actionId=$actionId,")
append("budgetName=$budgetName,")
append("executionType=$executionType)")
}
override fun hashCode(): kotlin.Int {
var result = accountId?.hashCode() ?: 0
result = 31 * result + (actionId?.hashCode() ?: 0)
result = 31 * result + (budgetName?.hashCode() ?: 0)
result = 31 * result + (executionType?.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 ExecuteBudgetActionResponse
if (accountId != other.accountId) return false
if (actionId != other.actionId) return false
if (budgetName != other.budgetName) return false
if (executionType != other.executionType) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.budgets.model.ExecuteBudgetActionResponse = 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
/**
* A system-generated universally unique identifier (UUID) for the action.
*/
public var actionId: kotlin.String? = null
/**
* A string that represents the budget name. The ":" and "\" characters aren't allowed.
*/
public var budgetName: kotlin.String? = null
/**
* The type of execution.
*/
public var executionType: aws.sdk.kotlin.services.budgets.model.ExecutionType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.budgets.model.ExecuteBudgetActionResponse) : this() {
this.accountId = x.accountId
this.actionId = x.actionId
this.budgetName = x.budgetName
this.executionType = x.executionType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.budgets.model.ExecuteBudgetActionResponse = ExecuteBudgetActionResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy