commonMain.aws.sdk.kotlin.services.datazone.model.RejectSubscriptionRequestRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
public class RejectSubscriptionRequestRequest private constructor(builder: Builder) {
/**
* The decision comment of the rejected subscription request.
*/
public val decisionComment: kotlin.String? = builder.decisionComment
/**
* The identifier of the Amazon DataZone domain in which the subscription request was rejected.
*/
public val domainIdentifier: kotlin.String? = builder.domainIdentifier
/**
* The identifier of the subscription request that was rejected.
*/
public val identifier: kotlin.String? = builder.identifier
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.RejectSubscriptionRequestRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("RejectSubscriptionRequestRequest(")
append("decisionComment=*** Sensitive Data Redacted ***,")
append("domainIdentifier=$domainIdentifier,")
append("identifier=$identifier")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = decisionComment?.hashCode() ?: 0
result = 31 * result + (domainIdentifier?.hashCode() ?: 0)
result = 31 * result + (identifier?.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 RejectSubscriptionRequestRequest
if (decisionComment != other.decisionComment) return false
if (domainIdentifier != other.domainIdentifier) return false
if (identifier != other.identifier) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.RejectSubscriptionRequestRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The decision comment of the rejected subscription request.
*/
public var decisionComment: kotlin.String? = null
/**
* The identifier of the Amazon DataZone domain in which the subscription request was rejected.
*/
public var domainIdentifier: kotlin.String? = null
/**
* The identifier of the subscription request that was rejected.
*/
public var identifier: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.RejectSubscriptionRequestRequest) : this() {
this.decisionComment = x.decisionComment
this.domainIdentifier = x.domainIdentifier
this.identifier = x.identifier
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.RejectSubscriptionRequestRequest = RejectSubscriptionRequestRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy