commonMain.aws.sdk.kotlin.services.codestarconnections.model.GetSyncConfigurationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codestarconnections-jvm Show documentation
Show all versions of codestarconnections-jvm Show documentation
The AWS SDK for Kotlin client for CodeStar connections
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.codestarconnections.model
public class GetSyncConfigurationResponse private constructor(builder: Builder) {
/**
* The details about the sync configuration for which you want to retrieve information.
*/
public val syncConfiguration: aws.sdk.kotlin.services.codestarconnections.model.SyncConfiguration? = builder.syncConfiguration
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codestarconnections.model.GetSyncConfigurationResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetSyncConfigurationResponse(")
append("syncConfiguration=$syncConfiguration")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = syncConfiguration?.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 GetSyncConfigurationResponse
if (syncConfiguration != other.syncConfiguration) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codestarconnections.model.GetSyncConfigurationResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The details about the sync configuration for which you want to retrieve information.
*/
public var syncConfiguration: aws.sdk.kotlin.services.codestarconnections.model.SyncConfiguration? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codestarconnections.model.GetSyncConfigurationResponse) : this() {
this.syncConfiguration = x.syncConfiguration
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codestarconnections.model.GetSyncConfigurationResponse = GetSyncConfigurationResponse(this)
/**
* construct an [aws.sdk.kotlin.services.codestarconnections.model.SyncConfiguration] inside the given [block]
*/
public fun syncConfiguration(block: aws.sdk.kotlin.services.codestarconnections.model.SyncConfiguration.Builder.() -> kotlin.Unit) {
this.syncConfiguration = aws.sdk.kotlin.services.codestarconnections.model.SyncConfiguration.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy