
commonMain.aws.sdk.kotlin.services.neptunedata.model.ExecuteGremlinExplainQueryRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.neptunedata.model
import aws.smithy.kotlin.runtime.SdkDsl
public class ExecuteGremlinExplainQueryRequest private constructor(builder: Builder) {
/**
* The Gremlin explain query string.
*/
public val gremlinQuery: kotlin.String? = builder.gremlinQuery
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.neptunedata.model.ExecuteGremlinExplainQueryRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ExecuteGremlinExplainQueryRequest(")
append("gremlinQuery=$gremlinQuery")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = gremlinQuery?.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 ExecuteGremlinExplainQueryRequest
if (gremlinQuery != other.gremlinQuery) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.neptunedata.model.ExecuteGremlinExplainQueryRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Gremlin explain query string.
*/
public var gremlinQuery: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.neptunedata.model.ExecuteGremlinExplainQueryRequest) : this() {
this.gremlinQuery = x.gremlinQuery
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.neptunedata.model.ExecuteGremlinExplainQueryRequest = ExecuteGremlinExplainQueryRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy