
commonMain.aws.sdk.kotlin.services.kinesisanalytics.model.DeleteApplicationInputProcessingConfigurationRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.kinesisanalytics.model
public class DeleteApplicationInputProcessingConfigurationRequest private constructor(builder: Builder) {
/**
* The Kinesis Analytics application name.
*/
public val applicationName: kotlin.String? = builder.applicationName
/**
* The version ID of the Kinesis Analytics application.
*/
public val currentApplicationVersionId: kotlin.Long? = builder.currentApplicationVersionId
/**
* The ID of the input configuration from which to delete the input processing configuration. You can get a list of the input IDs for an application by using the [DescribeApplication](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html) operation.
*/
public val inputId: kotlin.String? = builder.inputId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.kinesisanalytics.model.DeleteApplicationInputProcessingConfigurationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteApplicationInputProcessingConfigurationRequest(")
append("applicationName=$applicationName,")
append("currentApplicationVersionId=$currentApplicationVersionId,")
append("inputId=$inputId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = applicationName?.hashCode() ?: 0
result = 31 * result + (currentApplicationVersionId?.hashCode() ?: 0)
result = 31 * result + (inputId?.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 DeleteApplicationInputProcessingConfigurationRequest
if (applicationName != other.applicationName) return false
if (currentApplicationVersionId != other.currentApplicationVersionId) return false
if (inputId != other.inputId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.kinesisanalytics.model.DeleteApplicationInputProcessingConfigurationRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The Kinesis Analytics application name.
*/
public var applicationName: kotlin.String? = null
/**
* The version ID of the Kinesis Analytics application.
*/
public var currentApplicationVersionId: kotlin.Long? = null
/**
* The ID of the input configuration from which to delete the input processing configuration. You can get a list of the input IDs for an application by using the [DescribeApplication](https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html) operation.
*/
public var inputId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.kinesisanalytics.model.DeleteApplicationInputProcessingConfigurationRequest) : this() {
this.applicationName = x.applicationName
this.currentApplicationVersionId = x.currentApplicationVersionId
this.inputId = x.inputId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.kinesisanalytics.model.DeleteApplicationInputProcessingConfigurationRequest = DeleteApplicationInputProcessingConfigurationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy