commonMain.aws.sdk.kotlin.services.databasemigrationservice.model.DescribeAccountAttributesResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databasemigrationservice-jvm Show documentation
Show all versions of databasemigrationservice-jvm Show documentation
The AWS SDK for Kotlin client for Database Migration Service
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databasemigrationservice.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
*
*/
public class DescribeAccountAttributesResponse private constructor(builder: Builder) {
/**
* Account quota information.
*/
public val accountQuotas: List? = builder.accountQuotas
/**
* A unique DMS identifier for an account in a particular Amazon Web Services Region. The value of this identifier has the following format: `c99999999999`. DMS uses this identifier to name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket for storing task assessment reports in a given Amazon Web Services Region. The format of this S3 bucket name is the following: `dms-AccountNumber-UniqueAccountIdentifier.` Here is an example name for this default S3 bucket: `dms-111122223333-c44445555666`.
*
* DMS supports the `UniqueAccountIdentifier` parameter in versions 3.1.4 and later.
*/
public val uniqueAccountIdentifier: kotlin.String? = builder.uniqueAccountIdentifier
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databasemigrationservice.model.DescribeAccountAttributesResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeAccountAttributesResponse(")
append("accountQuotas=$accountQuotas,")
append("uniqueAccountIdentifier=$uniqueAccountIdentifier")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = accountQuotas?.hashCode() ?: 0
result = 31 * result + (uniqueAccountIdentifier?.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 DescribeAccountAttributesResponse
if (accountQuotas != other.accountQuotas) return false
if (uniqueAccountIdentifier != other.uniqueAccountIdentifier) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databasemigrationservice.model.DescribeAccountAttributesResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Account quota information.
*/
public var accountQuotas: List? = null
/**
* A unique DMS identifier for an account in a particular Amazon Web Services Region. The value of this identifier has the following format: `c99999999999`. DMS uses this identifier to name artifacts. For example, DMS uses this identifier to name the default Amazon S3 bucket for storing task assessment reports in a given Amazon Web Services Region. The format of this S3 bucket name is the following: `dms-AccountNumber-UniqueAccountIdentifier.` Here is an example name for this default S3 bucket: `dms-111122223333-c44445555666`.
*
* DMS supports the `UniqueAccountIdentifier` parameter in versions 3.1.4 and later.
*/
public var uniqueAccountIdentifier: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databasemigrationservice.model.DescribeAccountAttributesResponse) : this() {
this.accountQuotas = x.accountQuotas
this.uniqueAccountIdentifier = x.uniqueAccountIdentifier
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databasemigrationservice.model.DescribeAccountAttributesResponse = DescribeAccountAttributesResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy