zio.aws.snowdevicemanagement.model.Unlock.scala Maven / Gradle / Ivy
The newest version!
package zio.aws.snowdevicemanagement.model
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters._
final case class Unlock() {
def buildAwsValue()
: software.amazon.awssdk.services.snowdevicemanagement.model.Unlock = {
import Unlock.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.snowdevicemanagement.model.Unlock
.builder()
.build()
}
def asReadOnly: zio.aws.snowdevicemanagement.model.Unlock.ReadOnly =
zio.aws.snowdevicemanagement.model.Unlock.wrap(buildAwsValue())
}
object Unlock {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.snowdevicemanagement.model.Unlock
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.snowdevicemanagement.model.Unlock =
zio.aws.snowdevicemanagement.model.Unlock()
}
private final class Wrapper(
impl: software.amazon.awssdk.services.snowdevicemanagement.model.Unlock
) extends zio.aws.snowdevicemanagement.model.Unlock.ReadOnly
def wrap(
impl: software.amazon.awssdk.services.snowdevicemanagement.model.Unlock
): zio.aws.snowdevicemanagement.model.Unlock.ReadOnly = new Wrapper(impl)
}