commonMain.aws.sdk.kotlin.services.cognitosync.model.GetBulkPublishDetailsRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitosync-jvm Show documentation
Show all versions of cognitosync-jvm Show documentation
The AWS SDK for Kotlin client for Cognito Sync
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cognitosync.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The input for the GetBulkPublishDetails operation.
*/
public class GetBulkPublishDetailsRequest private constructor(builder: Builder) {
/**
* A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
*/
public val identityPoolId: kotlin.String? = builder.identityPoolId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.cognitosync.model.GetBulkPublishDetailsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetBulkPublishDetailsRequest(")
append("identityPoolId=$identityPoolId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = identityPoolId?.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 GetBulkPublishDetailsRequest
if (identityPoolId != other.identityPoolId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.cognitosync.model.GetBulkPublishDetailsRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
*/
public var identityPoolId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.cognitosync.model.GetBulkPublishDetailsRequest) : this() {
this.identityPoolId = x.identityPoolId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.cognitosync.model.GetBulkPublishDetailsRequest = GetBulkPublishDetailsRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}