
commonMain.aws.sdk.kotlin.services.gamelift.model.DeleteMatchmakingRuleSetRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.gamelift.model
public class DeleteMatchmakingRuleSetRequest private constructor(builder: Builder) {
/**
* A unique identifier for the matchmaking rule set to be deleted. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.
*/
public val name: kotlin.String? = builder.name
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.gamelift.model.DeleteMatchmakingRuleSetRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteMatchmakingRuleSetRequest(")
append("name=$name")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = name?.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 DeleteMatchmakingRuleSetRequest
if (name != other.name) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.gamelift.model.DeleteMatchmakingRuleSetRequest = Builder(this).apply(block).build()
public class Builder {
/**
* A unique identifier for the matchmaking rule set to be deleted. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.
*/
public var name: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.gamelift.model.DeleteMatchmakingRuleSetRequest) : this() {
this.name = x.name
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.gamelift.model.DeleteMatchmakingRuleSetRequest = DeleteMatchmakingRuleSetRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy