commonMain.aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationOutput.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: Output configuration of the Jira integration.
*/
public class WorkloadJiraConfigurationOutput 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
/**
* Workload-level: Status message on configuration of the Jira integration.
*/
public val statusMessage: kotlin.String? = builder.statusMessage
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationOutput = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("WorkloadJiraConfigurationOutput(")
append("issueManagementStatus=$issueManagementStatus,")
append("issueManagementType=$issueManagementType,")
append("jiraProjectKey=$jiraProjectKey,")
append("statusMessage=$statusMessage")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = issueManagementStatus?.hashCode() ?: 0
result = 31 * result + (issueManagementType?.hashCode() ?: 0)
result = 31 * result + (jiraProjectKey?.hashCode() ?: 0)
result = 31 * result + (statusMessage?.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 WorkloadJiraConfigurationOutput
if (issueManagementStatus != other.issueManagementStatus) return false
if (issueManagementType != other.issueManagementType) return false
if (jiraProjectKey != other.jiraProjectKey) return false
if (statusMessage != other.statusMessage) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationOutput = 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
/**
* Workload-level: Status message on configuration of the Jira integration.
*/
public var statusMessage: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationOutput) : this() {
this.issueManagementStatus = x.issueManagementStatus
this.issueManagementType = x.issueManagementType
this.jiraProjectKey = x.jiraProjectKey
this.statusMessage = x.statusMessage
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.wellarchitected.model.WorkloadJiraConfigurationOutput = WorkloadJiraConfigurationOutput(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy