
commonMain.aws.sdk.kotlin.services.amplify.model.GenerateAccessLogsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.amplify.model
/**
* The result structure for the generate access logs request.
*/
public class GenerateAccessLogsResponse private constructor(builder: Builder) {
/**
* The pre-signed URL for the requested access logs.
*/
public val logUrl: kotlin.String? = builder.logUrl
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.amplify.model.GenerateAccessLogsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GenerateAccessLogsResponse(")
append("logUrl=$logUrl")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = logUrl?.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 GenerateAccessLogsResponse
if (logUrl != other.logUrl) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.amplify.model.GenerateAccessLogsResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The pre-signed URL for the requested access logs.
*/
public var logUrl: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.amplify.model.GenerateAccessLogsResponse) : this() {
this.logUrl = x.logUrl
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.amplify.model.GenerateAccessLogsResponse = GenerateAccessLogsResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy