commonMain.aws.sdk.kotlin.services.elasticbeanstalk.model.DeleteConfigurationTemplateRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticbeanstalk-jvm Show documentation
Show all versions of elasticbeanstalk-jvm Show documentation
The AWS SDK for Kotlin client for Elastic Beanstalk
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.elasticbeanstalk.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Request to delete a configuration template.
*/
public class DeleteConfigurationTemplateRequest private constructor(builder: Builder) {
/**
* The name of the application to delete the configuration template from.
*/
public val applicationName: kotlin.String? = builder.applicationName
/**
* The name of the configuration template to delete.
*/
public val templateName: kotlin.String? = builder.templateName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.elasticbeanstalk.model.DeleteConfigurationTemplateRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteConfigurationTemplateRequest(")
append("applicationName=$applicationName,")
append("templateName=$templateName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = applicationName?.hashCode() ?: 0
result = 31 * result + (templateName?.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 DeleteConfigurationTemplateRequest
if (applicationName != other.applicationName) return false
if (templateName != other.templateName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.elasticbeanstalk.model.DeleteConfigurationTemplateRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The name of the application to delete the configuration template from.
*/
public var applicationName: kotlin.String? = null
/**
* The name of the configuration template to delete.
*/
public var templateName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.elasticbeanstalk.model.DeleteConfigurationTemplateRequest) : this() {
this.applicationName = x.applicationName
this.templateName = x.templateName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.elasticbeanstalk.model.DeleteConfigurationTemplateRequest = DeleteConfigurationTemplateRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy