
commonMain.aws.sdk.kotlin.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssoadmin.model
public class DescribeAccountAssignmentCreationStatusRequest private constructor(builder: Builder) {
/**
* The identifier that is used to track the request operation progress.
*/
public val accountAssignmentCreationRequestId: kotlin.String? = builder.accountAssignmentCreationRequestId
/**
* The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see [Amazon Resource Names (ARNs) and AWS Service Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the *AWS General Reference*.
*/
public val instanceArn: kotlin.String? = builder.instanceArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeAccountAssignmentCreationStatusRequest(")
append("accountAssignmentCreationRequestId=$accountAssignmentCreationRequestId,")
append("instanceArn=$instanceArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = accountAssignmentCreationRequestId?.hashCode() ?: 0
result = 31 * result + (instanceArn?.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 DescribeAccountAssignmentCreationStatusRequest
if (accountAssignmentCreationRequestId != other.accountAssignmentCreationRequestId) return false
if (instanceArn != other.instanceArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The identifier that is used to track the request operation progress.
*/
public var accountAssignmentCreationRequestId: kotlin.String? = null
/**
* The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see [Amazon Resource Names (ARNs) and AWS Service Namespaces](/general/latest/gr/aws-arns-and-namespaces.html) in the *AWS General Reference*.
*/
public var instanceArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusRequest) : this() {
this.accountAssignmentCreationRequestId = x.accountAssignmentCreationRequestId
this.instanceArn = x.instanceArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssoadmin.model.DescribeAccountAssignmentCreationStatusRequest = DescribeAccountAssignmentCreationStatusRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy