zio.aws.workmail.model.UpdateResourceResponse.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 UpdateResourceResponse() {
def buildAwsValue()
: software.amazon.awssdk.services.workmail.model.UpdateResourceResponse = {
import UpdateResourceResponse.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.workmail.model.UpdateResourceResponse
.builder()
.build()
}
def asReadOnly: zio.aws.workmail.model.UpdateResourceResponse.ReadOnly =
zio.aws.workmail.model.UpdateResourceResponse.wrap(buildAwsValue())
}
object UpdateResourceResponse {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.workmail.model.UpdateResourceResponse
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.workmail.model.UpdateResourceResponse =
zio.aws.workmail.model.UpdateResourceResponse()
}
private final class Wrapper(
impl: software.amazon.awssdk.services.workmail.model.UpdateResourceResponse
) extends zio.aws.workmail.model.UpdateResourceResponse.ReadOnly
def wrap(
impl: software.amazon.awssdk.services.workmail.model.UpdateResourceResponse
): zio.aws.workmail.model.UpdateResourceResponse.ReadOnly = new Wrapper(impl)
}