commonMain.aws.sdk.kotlin.services.codebuild.model.ReportGroup.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codebuild-jvm Show documentation
Show all versions of codebuild-jvm Show documentation
The AWS SDK for Kotlin client for CodeBuild
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.codebuild.model
import aws.smithy.kotlin.runtime.time.Instant
/**
* A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files.
*/
class ReportGroup private constructor(builder: Builder) {
/**
* The ARN of the `ReportGroup`.
*/
val arn: kotlin.String? = builder.arn
/**
* The date and time this `ReportGroup` was created.
*/
val created: aws.smithy.kotlin.runtime.time.Instant? = builder.created
/**
* Information about the destination where the raw data of this `ReportGroup` is exported.
*/
val exportConfig: aws.sdk.kotlin.services.codebuild.model.ReportExportConfig? = builder.exportConfig
/**
* The date and time this `ReportGroup` was last modified.
*/
val lastModified: aws.smithy.kotlin.runtime.time.Instant? = builder.lastModified
/**
* The name of the `ReportGroup`.
*/
val name: kotlin.String? = builder.name
/**
* The status of the report group. This property is read-only.
*
* This can be one of the following values:
*
* ## ACTIVE
* The report group is active.
*
* ## DELETING
* The report group is in the process of being deleted.
*/
val status: aws.sdk.kotlin.services.codebuild.model.ReportGroupStatusType? = builder.status
/**
* A list of tag key and value pairs associated with this report group.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
*/
val tags: List? = builder.tags
/**
* The type of the `ReportGroup`. This can be one of the following values:
*
* ## CODE_COVERAGE
* The report group contains code coverage reports.
*
* ## TEST
* The report group contains test reports.
*/
val type: aws.sdk.kotlin.services.codebuild.model.ReportType? = builder.type
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codebuild.model.ReportGroup = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ReportGroup(")
append("arn=$arn,")
append("created=$created,")
append("exportConfig=$exportConfig,")
append("lastModified=$lastModified,")
append("name=$name,")
append("status=$status,")
append("tags=$tags,")
append("type=$type)")
}
override fun hashCode(): kotlin.Int {
var result = arn?.hashCode() ?: 0
result = 31 * result + (created?.hashCode() ?: 0)
result = 31 * result + (exportConfig?.hashCode() ?: 0)
result = 31 * result + (lastModified?.hashCode() ?: 0)
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (status?.hashCode() ?: 0)
result = 31 * result + (tags?.hashCode() ?: 0)
result = 31 * result + (type?.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 ReportGroup
if (arn != other.arn) return false
if (created != other.created) return false
if (exportConfig != other.exportConfig) return false
if (lastModified != other.lastModified) return false
if (name != other.name) return false
if (status != other.status) return false
if (tags != other.tags) return false
if (type != other.type) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codebuild.model.ReportGroup = Builder(this).apply(block).build()
class Builder {
/**
* The ARN of the `ReportGroup`.
*/
var arn: kotlin.String? = null
/**
* The date and time this `ReportGroup` was created.
*/
var created: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* Information about the destination where the raw data of this `ReportGroup` is exported.
*/
var exportConfig: aws.sdk.kotlin.services.codebuild.model.ReportExportConfig? = null
/**
* The date and time this `ReportGroup` was last modified.
*/
var lastModified: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The name of the `ReportGroup`.
*/
var name: kotlin.String? = null
/**
* The status of the report group. This property is read-only.
*
* This can be one of the following values:
*
* ## ACTIVE
* The report group is active.
*
* ## DELETING
* The report group is in the process of being deleted.
*/
var status: aws.sdk.kotlin.services.codebuild.model.ReportGroupStatusType? = null
/**
* A list of tag key and value pairs associated with this report group.
*
* These tags are available for use by Amazon Web Services services that support CodeBuild report group tags.
*/
var tags: List? = null
/**
* The type of the `ReportGroup`. This can be one of the following values:
*
* ## CODE_COVERAGE
* The report group contains code coverage reports.
*
* ## TEST
* The report group contains test reports.
*/
var type: aws.sdk.kotlin.services.codebuild.model.ReportType? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codebuild.model.ReportGroup) : this() {
this.arn = x.arn
this.created = x.created
this.exportConfig = x.exportConfig
this.lastModified = x.lastModified
this.name = x.name
this.status = x.status
this.tags = x.tags
this.type = x.type
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codebuild.model.ReportGroup = ReportGroup(this)
/**
* construct an [aws.sdk.kotlin.services.codebuild.model.ReportExportConfig] inside the given [block]
*/
fun exportConfig(block: aws.sdk.kotlin.services.codebuild.model.ReportExportConfig.Builder.() -> kotlin.Unit) {
this.exportConfig = aws.sdk.kotlin.services.codebuild.model.ReportExportConfig.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy