commonMain.aws.sdk.kotlin.services.glue.model.BatchGetBlueprintsRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glue-jvm Show documentation
Show all versions of glue-jvm Show documentation
The AWS SDK for Kotlin client for Glue
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.glue.model
import aws.smithy.kotlin.runtime.SdkDsl
public class BatchGetBlueprintsRequest private constructor(builder: Builder) {
/**
* Specifies whether or not to include the blueprint in the response.
*/
public val includeBlueprint: kotlin.Boolean? = builder.includeBlueprint
/**
* Specifies whether or not to include the parameters, as a JSON string, for the blueprint in the response.
*/
public val includeParameterSpec: kotlin.Boolean? = builder.includeParameterSpec
/**
* A list of blueprint names.
*/
public val names: List? = builder.names
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.glue.model.BatchGetBlueprintsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("BatchGetBlueprintsRequest(")
append("includeBlueprint=$includeBlueprint,")
append("includeParameterSpec=$includeParameterSpec,")
append("names=$names")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = includeBlueprint?.hashCode() ?: 0
result = 31 * result + (includeParameterSpec?.hashCode() ?: 0)
result = 31 * result + (names?.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 BatchGetBlueprintsRequest
if (includeBlueprint != other.includeBlueprint) return false
if (includeParameterSpec != other.includeParameterSpec) return false
if (names != other.names) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.glue.model.BatchGetBlueprintsRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Specifies whether or not to include the blueprint in the response.
*/
public var includeBlueprint: kotlin.Boolean? = null
/**
* Specifies whether or not to include the parameters, as a JSON string, for the blueprint in the response.
*/
public var includeParameterSpec: kotlin.Boolean? = null
/**
* A list of blueprint names.
*/
public var names: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.glue.model.BatchGetBlueprintsRequest) : this() {
this.includeBlueprint = x.includeBlueprint
this.includeParameterSpec = x.includeParameterSpec
this.names = x.names
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.glue.model.BatchGetBlueprintsRequest = BatchGetBlueprintsRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}