commonMain.aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationInput.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.wellarchitected.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Workload-level: Input for the Jira configuration.
*/
public class WorkloadJiraConfigurationInput private constructor(builder: Builder) {
/**
* Workload-level: Jira issue management status.
*/
public val issueManagementStatus: aws.sdk.kotlin.services.wellarchitected.model.WorkloadIssueManagementStatus? = builder.issueManagementStatus
/**
* Workload-level: Jira issue management type.
*/
public val issueManagementType: aws.sdk.kotlin.services.wellarchitected.model.IssueManagementType? = builder.issueManagementType
/**
* Workload-level: Jira project key to sync workloads to.
*/
public val jiraProjectKey: kotlin.String? = builder.jiraProjectKey
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationInput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("WorkloadJiraConfigurationInput(")
append("issueManagementStatus=$issueManagementStatus,")
append("issueManagementType=$issueManagementType,")
append("jiraProjectKey=$jiraProjectKey")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = issueManagementStatus?.hashCode() ?: 0
result = 31 * result + (issueManagementType?.hashCode() ?: 0)
result = 31 * result + (jiraProjectKey?.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 WorkloadJiraConfigurationInput
if (issueManagementStatus != other.issueManagementStatus) return false
if (issueManagementType != other.issueManagementType) return false
if (jiraProjectKey != other.jiraProjectKey) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationInput = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Workload-level: Jira issue management status.
*/
public var issueManagementStatus: aws.sdk.kotlin.services.wellarchitected.model.WorkloadIssueManagementStatus? = null
/**
* Workload-level: Jira issue management type.
*/
public var issueManagementType: aws.sdk.kotlin.services.wellarchitected.model.IssueManagementType? = null
/**
* Workload-level: Jira project key to sync workloads to.
*/
public var jiraProjectKey: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationInput) : this() {
this.issueManagementStatus = x.issueManagementStatus
this.issueManagementType = x.issueManagementType
this.jiraProjectKey = x.jiraProjectKey
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationInput = WorkloadJiraConfigurationInput(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy