
commonMain.aws.sdk.kotlin.services.s3control.model.DescribeMultiRegionAccessPointOperationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.s3control.model
public class DescribeMultiRegionAccessPointOperationRequest private constructor(builder: Builder) {
/**
* The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
*/
public val accountId: kotlin.String? = builder.accountId
/**
* The request token associated with the request you want to know about. This request token is returned as part of the response when you make an asynchronous request. You provide this token to query about the status of the asynchronous action.
*/
public val requestTokenArn: kotlin.String? = builder.requestTokenArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.s3control.model.DescribeMultiRegionAccessPointOperationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeMultiRegionAccessPointOperationRequest(")
append("accountId=$accountId,")
append("requestTokenArn=$requestTokenArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = accountId?.hashCode() ?: 0
result = 31 * result + (requestTokenArn?.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 DescribeMultiRegionAccessPointOperationRequest
if (accountId != other.accountId) return false
if (requestTokenArn != other.requestTokenArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.s3control.model.DescribeMultiRegionAccessPointOperationRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
*/
public var accountId: kotlin.String? = null
/**
* The request token associated with the request you want to know about. This request token is returned as part of the response when you make an asynchronous request. You provide this token to query about the status of the asynchronous action.
*/
public var requestTokenArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.s3control.model.DescribeMultiRegionAccessPointOperationRequest) : this() {
this.accountId = x.accountId
this.requestTokenArn = x.requestTokenArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.s3control.model.DescribeMultiRegionAccessPointOperationRequest = DescribeMultiRegionAccessPointOperationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy