
commonMain.aws.sdk.kotlin.services.iam.model.GetServiceLinkedRoleDeletionStatusRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iam.model
public class GetServiceLinkedRoleDeletionStatusRequest private constructor(builder: Builder) {
/**
* The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format `task/aws-service-role///`.
*/
public val deletionTaskId: kotlin.String? = builder.deletionTaskId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iam.model.GetServiceLinkedRoleDeletionStatusRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetServiceLinkedRoleDeletionStatusRequest(")
append("deletionTaskId=$deletionTaskId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = deletionTaskId?.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 GetServiceLinkedRoleDeletionStatusRequest
if (deletionTaskId != other.deletionTaskId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iam.model.GetServiceLinkedRoleDeletionStatusRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The deletion task identifier. This identifier is returned by the DeleteServiceLinkedRole operation in the format `task/aws-service-role///`.
*/
public var deletionTaskId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iam.model.GetServiceLinkedRoleDeletionStatusRequest) : this() {
this.deletionTaskId = x.deletionTaskId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iam.model.GetServiceLinkedRoleDeletionStatusRequest = GetServiceLinkedRoleDeletionStatusRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy