
commonMain.aws.sdk.kotlin.services.auditmanager.model.ValidateAssessmentReportIntegrityRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.auditmanager.model
import aws.smithy.kotlin.runtime.SdkDsl
public class ValidateAssessmentReportIntegrityRequest private constructor(builder: Builder) {
/**
* The relative path of the Amazon S3 bucket that the assessment report is stored in.
*/
public val s3RelativePath: kotlin.String? = builder.s3RelativePath
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.auditmanager.model.ValidateAssessmentReportIntegrityRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ValidateAssessmentReportIntegrityRequest(")
append("s3RelativePath=$s3RelativePath")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = s3RelativePath?.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 ValidateAssessmentReportIntegrityRequest
if (s3RelativePath != other.s3RelativePath) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.auditmanager.model.ValidateAssessmentReportIntegrityRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The relative path of the Amazon S3 bucket that the assessment report is stored in.
*/
public var s3RelativePath: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.auditmanager.model.ValidateAssessmentReportIntegrityRequest) : this() {
this.s3RelativePath = x.s3RelativePath
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.auditmanager.model.ValidateAssessmentReportIntegrityRequest = ValidateAssessmentReportIntegrityRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy