zio.aws.storagegateway.model.DescribeSmbSettingsRequest.scala Maven / Gradle / Ivy
package zio.aws.storagegateway.model
import zio.aws.storagegateway.model.primitives.GatewayARN
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters._
final case class DescribeSmbSettingsRequest(gatewayARN: GatewayARN) {
def buildAwsValue()
: software.amazon.awssdk.services.storagegateway.model.DescribeSmbSettingsRequest = {
import DescribeSmbSettingsRequest.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.storagegateway.model.DescribeSmbSettingsRequest
.builder()
.gatewayARN(GatewayARN.unwrap(gatewayARN): java.lang.String)
.build()
}
def asReadOnly
: zio.aws.storagegateway.model.DescribeSmbSettingsRequest.ReadOnly =
zio.aws.storagegateway.model.DescribeSmbSettingsRequest
.wrap(buildAwsValue())
}
object DescribeSmbSettingsRequest {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.storagegateway.model.DescribeSmbSettingsRequest
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.storagegateway.model.DescribeSmbSettingsRequest =
zio.aws.storagegateway.model.DescribeSmbSettingsRequest(gatewayARN)
def gatewayARN: GatewayARN
def getGatewayARN: ZIO[Any, Nothing, GatewayARN] = ZIO.succeed(gatewayARN)
}
private final class Wrapper(
impl: software.amazon.awssdk.services.storagegateway.model.DescribeSmbSettingsRequest
) extends zio.aws.storagegateway.model.DescribeSmbSettingsRequest.ReadOnly {
override val gatewayARN: GatewayARN =
zio.aws.storagegateway.model.primitives.GatewayARN(impl.gatewayARN())
}
def wrap(
impl: software.amazon.awssdk.services.storagegateway.model.DescribeSmbSettingsRequest
): zio.aws.storagegateway.model.DescribeSmbSettingsRequest.ReadOnly =
new Wrapper(impl)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy