
commonMain.aws.sdk.kotlin.services.route53resolver.model.UpdateResolverDnssecConfigRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.route53resolver.model
public class UpdateResolverDnssecConfigRequest private constructor(builder: Builder) {
/**
* The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.
*/
public val resourceId: kotlin.String? = builder.resourceId
/**
* The new value that you are specifying for DNSSEC validation for the VPC. The value can be `ENABLE` or `DISABLE`. Be aware that it can take time for a validation status change to be completed.
*/
public val validation: aws.sdk.kotlin.services.route53resolver.model.Validation? = builder.validation
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.route53resolver.model.UpdateResolverDnssecConfigRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateResolverDnssecConfigRequest(")
append("resourceId=$resourceId,")
append("validation=$validation")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = resourceId?.hashCode() ?: 0
result = 31 * result + (validation?.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 UpdateResolverDnssecConfigRequest
if (resourceId != other.resourceId) return false
if (validation != other.validation) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.route53resolver.model.UpdateResolverDnssecConfigRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.
*/
public var resourceId: kotlin.String? = null
/**
* The new value that you are specifying for DNSSEC validation for the VPC. The value can be `ENABLE` or `DISABLE`. Be aware that it can take time for a validation status change to be completed.
*/
public var validation: aws.sdk.kotlin.services.route53resolver.model.Validation? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.route53resolver.model.UpdateResolverDnssecConfigRequest) : this() {
this.resourceId = x.resourceId
this.validation = x.validation
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.route53resolver.model.UpdateResolverDnssecConfigRequest = UpdateResolverDnssecConfigRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy