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