
commonMain.aws.sdk.kotlin.services.ssm.model.GetOpsMetadataResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssm.model
public class GetOpsMetadataResponse private constructor(builder: Builder) {
/**
* OpsMetadata for an Application Manager application.
*/
public val metadata: Map? = builder.metadata
/**
* The token for the next set of items to return. Use this token to get the next set of results.
*/
public val nextToken: kotlin.String? = builder.nextToken
/**
* The resource ID of the Application Manager application.
*/
public val resourceId: kotlin.String? = builder.resourceId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssm.model.GetOpsMetadataResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetOpsMetadataResponse(")
append("metadata=$metadata,")
append("nextToken=$nextToken,")
append("resourceId=$resourceId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = metadata?.hashCode() ?: 0
result = 31 * result + (nextToken?.hashCode() ?: 0)
result = 31 * result + (resourceId?.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 GetOpsMetadataResponse
if (metadata != other.metadata) return false
if (nextToken != other.nextToken) return false
if (resourceId != other.resourceId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssm.model.GetOpsMetadataResponse = Builder(this).apply(block).build()
public class Builder {
/**
* OpsMetadata for an Application Manager application.
*/
public var metadata: Map? = null
/**
* The token for the next set of items to return. Use this token to get the next set of results.
*/
public var nextToken: kotlin.String? = null
/**
* The resource ID of the Application Manager application.
*/
public var resourceId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssm.model.GetOpsMetadataResponse) : this() {
this.metadata = x.metadata
this.nextToken = x.nextToken
this.resourceId = x.resourceId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssm.model.GetOpsMetadataResponse = GetOpsMetadataResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy