![JAR search and dependency download from the Maven repository](/logo.png)
zio.aws.waf.model.CreateWebAclMigrationStackResponse.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-waf_2.13 Show documentation
Show all versions of zio-aws-waf_2.13 Show documentation
Low-level AWS wrapper for ZIO
The newest version!
package zio.aws.waf.model
import zio.ZIO
import zio.aws.core.BuilderHelper
import zio.aws.waf.model.primitives.S3ObjectUrl
import scala.jdk.CollectionConverters._
final case class CreateWebAclMigrationStackResponse(s3ObjectUrl: S3ObjectUrl) {
def buildAwsValue()
: software.amazon.awssdk.services.waf.model.CreateWebAclMigrationStackResponse = {
import CreateWebAclMigrationStackResponse.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.waf.model.CreateWebAclMigrationStackResponse
.builder()
.s3ObjectUrl(S3ObjectUrl.unwrap(s3ObjectUrl): java.lang.String)
.build()
}
def asReadOnly
: zio.aws.waf.model.CreateWebAclMigrationStackResponse.ReadOnly =
zio.aws.waf.model.CreateWebAclMigrationStackResponse.wrap(buildAwsValue())
}
object CreateWebAclMigrationStackResponse {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.waf.model.CreateWebAclMigrationStackResponse
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.waf.model.CreateWebAclMigrationStackResponse =
zio.aws.waf.model.CreateWebAclMigrationStackResponse(s3ObjectUrl)
def s3ObjectUrl: S3ObjectUrl
def getS3ObjectUrl: ZIO[Any, Nothing, S3ObjectUrl] =
ZIO.succeed(s3ObjectUrl)
}
private final class Wrapper(
impl: software.amazon.awssdk.services.waf.model.CreateWebAclMigrationStackResponse
) extends zio.aws.waf.model.CreateWebAclMigrationStackResponse.ReadOnly {
override val s3ObjectUrl: S3ObjectUrl =
zio.aws.waf.model.primitives.S3ObjectUrl(impl.s3ObjectUrl())
}
def wrap(
impl: software.amazon.awssdk.services.waf.model.CreateWebAclMigrationStackResponse
): zio.aws.waf.model.CreateWebAclMigrationStackResponse.ReadOnly =
new Wrapper(impl)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy