![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.refactorspaces.kotlin.RouteArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.refactorspaces.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.refactorspaces.RouteArgs.builder
import com.pulumi.awsnative.refactorspaces.kotlin.enums.RouteType
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.RouteDefaultRouteInputArgs
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.RouteDefaultRouteInputArgsBuilder
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.RouteUriPathRouteInputArgs
import com.pulumi.awsnative.refactorspaces.kotlin.inputs.RouteUriPathRouteInputArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::RefactorSpaces::Route Resource Type
* @property applicationIdentifier The unique identifier of the application.
* @property defaultRoute Configuration for the default route type.
* @property environmentIdentifier The unique identifier of the environment.
* @property routeType The route type of the route.
* @property serviceIdentifier The unique identifier of the service.
* @property tags Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
* @property uriPathRoute The configuration for the URI path route type.
*/
public data class RouteArgs(
public val applicationIdentifier: Output? = null,
public val defaultRoute: Output? = null,
public val environmentIdentifier: Output? = null,
public val routeType: Output? = null,
public val serviceIdentifier: Output? = null,
public val tags: Output>? = null,
public val uriPathRoute: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.refactorspaces.RouteArgs =
com.pulumi.awsnative.refactorspaces.RouteArgs.builder()
.applicationIdentifier(applicationIdentifier?.applyValue({ args0 -> args0 }))
.defaultRoute(defaultRoute?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.environmentIdentifier(environmentIdentifier?.applyValue({ args0 -> args0 }))
.routeType(routeType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.serviceIdentifier(serviceIdentifier?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.uriPathRoute(uriPathRoute?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [RouteArgs].
*/
@PulumiTagMarker
public class RouteArgsBuilder internal constructor() {
private var applicationIdentifier: Output? = null
private var defaultRoute: Output? = null
private var environmentIdentifier: Output? = null
private var routeType: Output? = null
private var serviceIdentifier: Output? = null
private var tags: Output>? = null
private var uriPathRoute: Output? = null
/**
* @param value The unique identifier of the application.
*/
@JvmName("bifvdqvecwdyrovj")
public suspend fun applicationIdentifier(`value`: Output) {
this.applicationIdentifier = value
}
/**
* @param value Configuration for the default route type.
*/
@JvmName("ylvjjmpkversgjys")
public suspend fun defaultRoute(`value`: Output) {
this.defaultRoute = value
}
/**
* @param value The unique identifier of the environment.
*/
@JvmName("yjheuckepgmpoxkk")
public suspend fun environmentIdentifier(`value`: Output) {
this.environmentIdentifier = value
}
/**
* @param value The route type of the route.
*/
@JvmName("nrugglhfuvsomdmu")
public suspend fun routeType(`value`: Output) {
this.routeType = value
}
/**
* @param value The unique identifier of the service.
*/
@JvmName("tqbfmbofrexasydh")
public suspend fun serviceIdentifier(`value`: Output) {
this.serviceIdentifier = value
}
/**
* @param value Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
@JvmName("sfvkryhwhxlwarxj")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("wwrxfvvuobqokvrk")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Metadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
*/
@JvmName("hnokkoteufsrllei")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy