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