
commonMain.aws.sdk.kotlin.services.gamelift.model.GetGameSessionLogUrlResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.gamelift.model
public class GetGameSessionLogUrlResponse private constructor(builder: Builder) {
/**
* Location of the requested game session logs, available for download. This URL is valid for 15 minutes, after which S3 will reject any download request using this URL. You can request a new URL any time within the 14-day period that the logs are retained.
*/
public val preSignedUrl: kotlin.String? = builder.preSignedUrl
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.gamelift.model.GetGameSessionLogUrlResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetGameSessionLogUrlResponse(")
append("preSignedUrl=$preSignedUrl")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = preSignedUrl?.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 GetGameSessionLogUrlResponse
if (preSignedUrl != other.preSignedUrl) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.gamelift.model.GetGameSessionLogUrlResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Location of the requested game session logs, available for download. This URL is valid for 15 minutes, after which S3 will reject any download request using this URL. You can request a new URL any time within the 14-day period that the logs are retained.
*/
public var preSignedUrl: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.gamelift.model.GetGameSessionLogUrlResponse) : this() {
this.preSignedUrl = x.preSignedUrl
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.gamelift.model.GetGameSessionLogUrlResponse = GetGameSessionLogUrlResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy