commonMain.aws.sdk.kotlin.services.codestarconnections.model.GetSyncBlockerSummaryRequest.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 GetSyncBlockerSummaryRequest private constructor(builder: Builder) {
/**
* The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.
*/
public val resourceName: kotlin.String? = builder.resourceName
/**
* The sync type for the sync blocker summary.
*/
public val syncType: aws.sdk.kotlin.services.codestarconnections.model.SyncConfigurationType? = builder.syncType
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codestarconnections.model.GetSyncBlockerSummaryRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetSyncBlockerSummaryRequest(")
append("resourceName=$resourceName,")
append("syncType=$syncType")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = resourceName?.hashCode() ?: 0
result = 31 * result + (syncType?.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 GetSyncBlockerSummaryRequest
if (resourceName != other.resourceName) return false
if (syncType != other.syncType) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codestarconnections.model.GetSyncBlockerSummaryRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.
*/
public var resourceName: kotlin.String? = null
/**
* The sync type for the sync blocker summary.
*/
public var syncType: aws.sdk.kotlin.services.codestarconnections.model.SyncConfigurationType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codestarconnections.model.GetSyncBlockerSummaryRequest) : this() {
this.resourceName = x.resourceName
this.syncType = x.syncType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codestarconnections.model.GetSyncBlockerSummaryRequest = GetSyncBlockerSummaryRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy