
commonMain.aws.sdk.kotlin.services.codecommit.model.PutRepositoryTriggersResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.codecommit.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Represents the output of a put repository triggers operation.
*/
public class PutRepositoryTriggersResponse private constructor(builder: Builder) {
/**
* The system-generated unique ID for the create or update operation.
*/
public val configurationId: kotlin.String? = builder.configurationId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codecommit.model.PutRepositoryTriggersResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("PutRepositoryTriggersResponse(")
append("configurationId=$configurationId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = configurationId?.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 PutRepositoryTriggersResponse
if (configurationId != other.configurationId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codecommit.model.PutRepositoryTriggersResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The system-generated unique ID for the create or update operation.
*/
public var configurationId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codecommit.model.PutRepositoryTriggersResponse) : this() {
this.configurationId = x.configurationId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codecommit.model.PutRepositoryTriggersResponse = PutRepositoryTriggersResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy