commonMain.aws.sdk.kotlin.services.finspace.model.VpcConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finspace-jvm Show documentation
Show all versions of finspace-jvm Show documentation
The AWS SDK for Kotlin client for finspace
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.finspace.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Configuration details about the network where the Privatelink endpoint of the cluster resides.
*/
public class VpcConfiguration private constructor(builder: Builder) {
/**
* The IP address type for cluster network configuration parameters. The following type is available:
* + IP_V4 – IP address version 4
*/
public val ipAddressType: aws.sdk.kotlin.services.finspace.model.IpAddressType? = builder.ipAddressType
/**
* The unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
*/
public val securityGroupIds: List? = builder.securityGroupIds
/**
* The identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
*/
public val subnetIds: List? = builder.subnetIds
/**
* The identifier of the VPC endpoint.
*/
public val vpcId: kotlin.String? = builder.vpcId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.finspace.model.VpcConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("VpcConfiguration(")
append("ipAddressType=$ipAddressType,")
append("securityGroupIds=$securityGroupIds,")
append("subnetIds=$subnetIds,")
append("vpcId=$vpcId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = ipAddressType?.hashCode() ?: 0
result = 31 * result + (securityGroupIds?.hashCode() ?: 0)
result = 31 * result + (subnetIds?.hashCode() ?: 0)
result = 31 * result + (vpcId?.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 VpcConfiguration
if (ipAddressType != other.ipAddressType) return false
if (securityGroupIds != other.securityGroupIds) return false
if (subnetIds != other.subnetIds) return false
if (vpcId != other.vpcId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.finspace.model.VpcConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The IP address type for cluster network configuration parameters. The following type is available:
* + IP_V4 – IP address version 4
*/
public var ipAddressType: aws.sdk.kotlin.services.finspace.model.IpAddressType? = null
/**
* The unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.
*/
public var securityGroupIds: List? = null
/**
* The identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.
*/
public var subnetIds: List? = null
/**
* The identifier of the VPC endpoint.
*/
public var vpcId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.finspace.model.VpcConfiguration) : this() {
this.ipAddressType = x.ipAddressType
this.securityGroupIds = x.securityGroupIds
this.subnetIds = x.subnetIds
this.vpcId = x.vpcId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.finspace.model.VpcConfiguration = VpcConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy