commonMain.aws.sdk.kotlin.services.datazone.model.DeploymentProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The deployment properties of the Amazon DataZone blueprint.
*/
public class DeploymentProperties private constructor(builder: Builder) {
/**
* The end timeout of the environment blueprint deployment.
*/
public val endTimeoutMinutes: kotlin.Int? = builder.endTimeoutMinutes
/**
* The start timeout of the environment blueprint deployment.
*/
public val startTimeoutMinutes: kotlin.Int? = builder.startTimeoutMinutes
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.DeploymentProperties = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeploymentProperties(")
append("endTimeoutMinutes=$endTimeoutMinutes,")
append("startTimeoutMinutes=$startTimeoutMinutes")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = endTimeoutMinutes ?: 0
result = 31 * result + (startTimeoutMinutes ?: 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 DeploymentProperties
if (endTimeoutMinutes != other.endTimeoutMinutes) return false
if (startTimeoutMinutes != other.startTimeoutMinutes) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.DeploymentProperties = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The end timeout of the environment blueprint deployment.
*/
public var endTimeoutMinutes: kotlin.Int? = null
/**
* The start timeout of the environment blueprint deployment.
*/
public var startTimeoutMinutes: kotlin.Int? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.DeploymentProperties) : this() {
this.endTimeoutMinutes = x.endTimeoutMinutes
this.startTimeoutMinutes = x.startTimeoutMinutes
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.DeploymentProperties = DeploymentProperties(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy