All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.aws.nimble.model.GetEulaRequest.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.5
Show newest version
package zio.aws.nimble.model
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class GetEulaRequest(eulaId: String) {
  def buildAwsValue()
      : software.amazon.awssdk.services.nimble.model.GetEulaRequest = {
    import GetEulaRequest.zioAwsBuilderHelper.BuilderOps
    software.amazon.awssdk.services.nimble.model.GetEulaRequest
      .builder()
      .eulaId(eulaId: java.lang.String)
      .build()
  }
  def asReadOnly: zio.aws.nimble.model.GetEulaRequest.ReadOnly =
    zio.aws.nimble.model.GetEulaRequest.wrap(buildAwsValue())
}
object GetEulaRequest {
  private lazy val zioAwsBuilderHelper: BuilderHelper[
    software.amazon.awssdk.services.nimble.model.GetEulaRequest
  ] = BuilderHelper.apply
  trait ReadOnly {
    def asEditable: zio.aws.nimble.model.GetEulaRequest =
      zio.aws.nimble.model.GetEulaRequest(eulaId)
    def eulaId: String
    def getEulaId: ZIO[Any, Nothing, String] = ZIO.succeed(eulaId)
  }
  private final class Wrapper(
      impl: software.amazon.awssdk.services.nimble.model.GetEulaRequest
  ) extends zio.aws.nimble.model.GetEulaRequest.ReadOnly {
    override val eulaId: String = impl.eulaId(): String
  }
  def wrap(
      impl: software.amazon.awssdk.services.nimble.model.GetEulaRequest
  ): zio.aws.nimble.model.GetEulaRequest.ReadOnly = new Wrapper(impl)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy