
commonMain.aws.sdk.kotlin.services.kinesisanalytics.model.StartApplicationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.kinesisanalytics.model
/**
*
*/
public class StartApplicationRequest private constructor(builder: Builder) {
/**
* Name of the application.
*/
public val applicationName: kotlin.String? = builder.applicationName
/**
* Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading.
*/
public val inputConfigurations: List? = builder.inputConfigurations
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.kinesisanalytics.model.StartApplicationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartApplicationRequest(")
append("applicationName=$applicationName,")
append("inputConfigurations=$inputConfigurations")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = applicationName?.hashCode() ?: 0
result = 31 * result + (inputConfigurations?.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 StartApplicationRequest
if (applicationName != other.applicationName) return false
if (inputConfigurations != other.inputConfigurations) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.kinesisanalytics.model.StartApplicationRequest = Builder(this).apply(block).build()
public class Builder {
/**
* Name of the application.
*/
public var applicationName: kotlin.String? = null
/**
* Identifies the specific input, by ID, that the application starts consuming. Amazon Kinesis Analytics starts reading the streaming source associated with the input. You can also specify where in the streaming source you want Amazon Kinesis Analytics to start reading.
*/
public var inputConfigurations: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.kinesisanalytics.model.StartApplicationRequest) : this() {
this.applicationName = x.applicationName
this.inputConfigurations = x.inputConfigurations
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.kinesisanalytics.model.StartApplicationRequest = StartApplicationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy