
com.pulumi.awsnative.rds.kotlin.inputs.DbInstanceEndpointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rds.kotlin.inputs
import com.pulumi.awsnative.rds.inputs.DbInstanceEndpointArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
* + ``CreateDBInstance``
* + ``DescribeDBInstances``
* + ``DeleteDBInstance``
* For the data structure that represents Amazon Aurora DB cluster endpoints, see ``DBClusterEndpoint``.
* @property address Specifies the DNS address of the DB instance.
* @property hostedZoneId Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
* @property port Specifies the port that the database engine is listening on.
*/
public data class DbInstanceEndpointArgs(
public val address: Output? = null,
public val hostedZoneId: Output? = null,
public val port: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rds.inputs.DbInstanceEndpointArgs =
com.pulumi.awsnative.rds.inputs.DbInstanceEndpointArgs.builder()
.address(address?.applyValue({ args0 -> args0 }))
.hostedZoneId(hostedZoneId?.applyValue({ args0 -> args0 }))
.port(port?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DbInstanceEndpointArgs].
*/
@PulumiTagMarker
public class DbInstanceEndpointArgsBuilder internal constructor() {
private var address: Output? = null
private var hostedZoneId: Output? = null
private var port: Output? = null
/**
* @param value Specifies the DNS address of the DB instance.
*/
@JvmName("pvsixffvrdgchnfd")
public suspend fun address(`value`: Output) {
this.address = value
}
/**
* @param value Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
*/
@JvmName("uxqojokitesbxfut")
public suspend fun hostedZoneId(`value`: Output) {
this.hostedZoneId = value
}
/**
* @param value Specifies the port that the database engine is listening on.
*/
@JvmName("vxxknmwhudruefsf")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value Specifies the DNS address of the DB instance.
*/
@JvmName("irclnrokkjwrrnum")
public suspend fun address(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.address = mapped
}
/**
* @param value Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
*/
@JvmName("fkilvhkovqpsksso")
public suspend fun hostedZoneId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hostedZoneId = mapped
}
/**
* @param value Specifies the port that the database engine is listening on.
*/
@JvmName("liuukyacyimylvgu")
public suspend fun port(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.port = mapped
}
internal fun build(): DbInstanceEndpointArgs = DbInstanceEndpointArgs(
address = address,
hostedZoneId = hostedZoneId,
port = port,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy