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