
commonMain.aws.sdk.kotlin.services.route53resolver.model.UpdateResolverConfigRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.route53resolver.model
public class UpdateResolverConfigRequest private constructor(builder: Builder) {
/**
* Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see [ClassicLink](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in the *Amazon EC2 guide*.
*
* We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see [Migrate from EC2-Classic to a VPC](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html) in the *Amazon EC2 guide* and the blog [EC2-Classic Networking is Retiring – Here’s How to Prepare](http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/).
*
* It can take some time for the status change to be completed.
*/
public val autodefinedReverseFlag: aws.sdk.kotlin.services.route53resolver.model.AutodefinedReverseFlag? = builder.autodefinedReverseFlag
/**
* Resource ID of the Amazon VPC that you want to update the Resolver configuration for.
*/
public val resourceId: kotlin.String? = builder.resourceId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.route53resolver.model.UpdateResolverConfigRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateResolverConfigRequest(")
append("autodefinedReverseFlag=$autodefinedReverseFlag,")
append("resourceId=$resourceId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = autodefinedReverseFlag?.hashCode() ?: 0
result = 31 * result + (resourceId?.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 UpdateResolverConfigRequest
if (autodefinedReverseFlag != other.autodefinedReverseFlag) return false
if (resourceId != other.resourceId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.route53resolver.model.UpdateResolverConfigRequest = Builder(this).apply(block).build()
public class Builder {
/**
* Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see [ClassicLink](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html) in the *Amazon EC2 guide*.
*
* We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see [Migrate from EC2-Classic to a VPC](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html) in the *Amazon EC2 guide* and the blog [EC2-Classic Networking is Retiring – Here’s How to Prepare](http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/).
*
* It can take some time for the status change to be completed.
*/
public var autodefinedReverseFlag: aws.sdk.kotlin.services.route53resolver.model.AutodefinedReverseFlag? = null
/**
* Resource ID of the Amazon VPC that you want to update the Resolver configuration for.
*/
public var resourceId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.route53resolver.model.UpdateResolverConfigRequest) : this() {
this.autodefinedReverseFlag = x.autodefinedReverseFlag
this.resourceId = x.resourceId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.route53resolver.model.UpdateResolverConfigRequest = UpdateResolverConfigRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy