zio.aws.nimble.model.StartStudioSsoConfigurationRepairResponse.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-nimble_3 Show documentation
Show all versions of zio-aws-nimble_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.nimble.model
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class StartStudioSsoConfigurationRepairResponse(
studio: zio.aws.nimble.model.Studio
) {
def buildAwsValue()
: software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse = {
import StartStudioSsoConfigurationRepairResponse.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse
.builder()
.studio(studio.buildAwsValue())
.build()
}
def asReadOnly
: zio.aws.nimble.model.StartStudioSsoConfigurationRepairResponse.ReadOnly =
zio.aws.nimble.model.StartStudioSsoConfigurationRepairResponse
.wrap(buildAwsValue())
}
object StartStudioSsoConfigurationRepairResponse {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse
] = BuilderHelper.apply
trait ReadOnly {
def asEditable
: zio.aws.nimble.model.StartStudioSsoConfigurationRepairResponse =
zio.aws.nimble.model
.StartStudioSsoConfigurationRepairResponse(studio.asEditable)
def studio: zio.aws.nimble.model.Studio.ReadOnly
def getStudio: ZIO[Any, Nothing, zio.aws.nimble.model.Studio.ReadOnly] =
ZIO.succeed(studio)
}
private final class Wrapper(
impl: software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse
) extends zio.aws.nimble.model.StartStudioSsoConfigurationRepairResponse.ReadOnly {
override val studio: zio.aws.nimble.model.Studio.ReadOnly =
zio.aws.nimble.model.Studio.wrap(impl.studio())
}
def wrap(
impl: software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse
): zio.aws.nimble.model.StartStudioSsoConfigurationRepairResponse.ReadOnly =
new Wrapper(impl)
}