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

zio.aws.workmail.model.PutRetentionPolicyResponse.scala Maven / Gradle / Ivy

There is a newer version: 7.28.29.5
Show newest version
package zio.aws.workmail.model
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters._
final case class PutRetentionPolicyResponse() {
  def buildAwsValue()
      : software.amazon.awssdk.services.workmail.model.PutRetentionPolicyResponse = {
    import PutRetentionPolicyResponse.zioAwsBuilderHelper.BuilderOps
    software.amazon.awssdk.services.workmail.model.PutRetentionPolicyResponse
      .builder()
      .build()
  }
  def asReadOnly: zio.aws.workmail.model.PutRetentionPolicyResponse.ReadOnly =
    zio.aws.workmail.model.PutRetentionPolicyResponse.wrap(buildAwsValue())
}
object PutRetentionPolicyResponse {
  private lazy val zioAwsBuilderHelper: BuilderHelper[
    software.amazon.awssdk.services.workmail.model.PutRetentionPolicyResponse
  ] = BuilderHelper.apply
  trait ReadOnly {
    def asEditable: zio.aws.workmail.model.PutRetentionPolicyResponse =
      zio.aws.workmail.model.PutRetentionPolicyResponse()
  }
  private final class Wrapper(
      impl: software.amazon.awssdk.services.workmail.model.PutRetentionPolicyResponse
  ) extends zio.aws.workmail.model.PutRetentionPolicyResponse.ReadOnly
  def wrap(
      impl: software.amazon.awssdk.services.workmail.model.PutRetentionPolicyResponse
  ): zio.aws.workmail.model.PutRetentionPolicyResponse.ReadOnly = new Wrapper(
    impl
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy