
commonMain.aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.groundstation.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
*
*/
public class GetDataflowEndpointGroupRequest private constructor(builder: Builder) {
/**
* UUID of a dataflow endpoint group.
*/
public val dataflowEndpointGroupId: kotlin.String = requireNotNull(builder.dataflowEndpointGroupId) { "A non-null value must be provided for dataflowEndpointGroupId" }
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetDataflowEndpointGroupRequest(")
append("dataflowEndpointGroupId=$dataflowEndpointGroupId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = dataflowEndpointGroupId.hashCode()
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 GetDataflowEndpointGroupRequest
if (dataflowEndpointGroupId != other.dataflowEndpointGroupId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* UUID of a dataflow endpoint group.
*/
public var dataflowEndpointGroupId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupRequest) : this() {
this.dataflowEndpointGroupId = x.dataflowEndpointGroupId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.groundstation.model.GetDataflowEndpointGroupRequest = GetDataflowEndpointGroupRequest(this)
internal fun correctErrors(): Builder {
if (dataflowEndpointGroupId == null) dataflowEndpointGroupId = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy