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