
commonMain.aws.sdk.kotlin.services.osis.model.PipelineBlueprintSummary.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
/**
* A summary of an OpenSearch Ingestion blueprint.
*/
public class PipelineBlueprintSummary private constructor(builder: Builder) {
/**
* The name of the blueprint.
*/
public val blueprintName: kotlin.String? = builder.blueprintName
/**
* A description of the blueprint.
*/
public val displayDescription: kotlin.String? = builder.displayDescription
/**
* The display name of the blueprint.
*/
public val displayName: kotlin.String? = builder.displayName
/**
* The name of the service that the blueprint is associated with.
*/
public val service: kotlin.String? = builder.service
/**
* The use case that the blueprint relates to.
*/
public val useCase: kotlin.String? = builder.useCase
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.osis.model.PipelineBlueprintSummary = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("PipelineBlueprintSummary(")
append("blueprintName=$blueprintName,")
append("displayDescription=$displayDescription,")
append("displayName=$displayName,")
append("service=$service,")
append("useCase=$useCase")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = blueprintName?.hashCode() ?: 0
result = 31 * result + (displayDescription?.hashCode() ?: 0)
result = 31 * result + (displayName?.hashCode() ?: 0)
result = 31 * result + (service?.hashCode() ?: 0)
result = 31 * result + (useCase?.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 PipelineBlueprintSummary
if (blueprintName != other.blueprintName) return false
if (displayDescription != other.displayDescription) return false
if (displayName != other.displayName) return false
if (service != other.service) return false
if (useCase != other.useCase) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.osis.model.PipelineBlueprintSummary = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The name of the blueprint.
*/
public var blueprintName: kotlin.String? = null
/**
* A description of the blueprint.
*/
public var displayDescription: kotlin.String? = null
/**
* The display name of the blueprint.
*/
public var displayName: kotlin.String? = null
/**
* The name of the service that the blueprint is associated with.
*/
public var service: kotlin.String? = null
/**
* The use case that the blueprint relates to.
*/
public var useCase: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.osis.model.PipelineBlueprintSummary) : this() {
this.blueprintName = x.blueprintName
this.displayDescription = x.displayDescription
this.displayName = x.displayName
this.service = x.service
this.useCase = x.useCase
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.osis.model.PipelineBlueprintSummary = PipelineBlueprintSummary(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy