commonMain.aws.sdk.kotlin.services.cognitoidentity.model.UnlinkDeveloperIdentityRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cognitoidentity-jvm Show documentation
Show all versions of cognitoidentity-jvm Show documentation
The AWS SDK for Kotlin client for Cognito Identity
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.cognitoidentity.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Input to the `UnlinkDeveloperIdentity` action.
*/
public class UnlinkDeveloperIdentityRequest private constructor(builder: Builder) {
/**
* The "domain" by which Cognito will refer to your users.
*/
public val developerProviderName: kotlin.String? = builder.developerProviderName
/**
* A unique ID used by your backend authentication process to identify a user.
*/
public val developerUserIdentifier: kotlin.String? = builder.developerUserIdentifier
/**
* A unique identifier in the format REGION:GUID.
*/
public val identityId: kotlin.String? = builder.identityId
/**
* An identity pool ID in the format REGION:GUID.
*/
public val identityPoolId: kotlin.String? = builder.identityPoolId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.cognitoidentity.model.UnlinkDeveloperIdentityRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UnlinkDeveloperIdentityRequest(")
append("developerProviderName=$developerProviderName,")
append("developerUserIdentifier=$developerUserIdentifier,")
append("identityId=$identityId,")
append("identityPoolId=$identityPoolId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = developerProviderName?.hashCode() ?: 0
result = 31 * result + (developerUserIdentifier?.hashCode() ?: 0)
result = 31 * result + (identityId?.hashCode() ?: 0)
result = 31 * 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 UnlinkDeveloperIdentityRequest
if (developerProviderName != other.developerProviderName) return false
if (developerUserIdentifier != other.developerUserIdentifier) return false
if (identityId != other.identityId) return false
if (identityPoolId != other.identityPoolId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.cognitoidentity.model.UnlinkDeveloperIdentityRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The "domain" by which Cognito will refer to your users.
*/
public var developerProviderName: kotlin.String? = null
/**
* A unique ID used by your backend authentication process to identify a user.
*/
public var developerUserIdentifier: kotlin.String? = null
/**
* A unique identifier in the format REGION:GUID.
*/
public var identityId: kotlin.String? = null
/**
* An identity pool ID in the format REGION:GUID.
*/
public var identityPoolId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.cognitoidentity.model.UnlinkDeveloperIdentityRequest) : this() {
this.developerProviderName = x.developerProviderName
this.developerUserIdentifier = x.developerUserIdentifier
this.identityId = x.identityId
this.identityPoolId = x.identityPoolId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.cognitoidentity.model.UnlinkDeveloperIdentityRequest = UnlinkDeveloperIdentityRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy