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