commonMain.aws.sdk.kotlin.services.iotwireless.model.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iotwireless-jvm Show documentation
Show all versions of iotwireless-jvm Show documentation
The AWS Kotlin client for IoT Wireless
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.iotwireless.model
import aws.smithy.kotlin.runtime.SdkDsl
public class StartBulkAssociateWirelessDeviceWithMulticastGroupRequest private constructor(builder: Builder) {
/**
* The ID of the multicast group.
*/
public val id: kotlin.String? = builder.id
/**
* Query string used to search for wireless devices as part of the bulk associate and disassociate process.
*/
public val queryString: kotlin.String? = builder.queryString
/**
* The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
*/
public val tags: List? = builder.tags
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.iotwireless.model.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StartBulkAssociateWirelessDeviceWithMulticastGroupRequest(")
append("id=$id,")
append("queryString=$queryString,")
append("tags=$tags")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = id?.hashCode() ?: 0
result = 31 * result + (queryString?.hashCode() ?: 0)
result = 31 * result + (tags?.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 StartBulkAssociateWirelessDeviceWithMulticastGroupRequest
if (id != other.id) return false
if (queryString != other.queryString) return false
if (tags != other.tags) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.iotwireless.model.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The ID of the multicast group.
*/
public var id: kotlin.String? = null
/**
* Query string used to search for wireless devices as part of the bulk associate and disassociate process.
*/
public var queryString: kotlin.String? = null
/**
* The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
*/
public var tags: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.iotwireless.model.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest) : this() {
this.id = x.id
this.queryString = x.queryString
this.tags = x.tags
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.iotwireless.model.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest = StartBulkAssociateWirelessDeviceWithMulticastGroupRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy