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