
zio.aws.licensemanager.model.DeleteTokenRequest.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zio-aws-licensemanager_3 Show documentation
Show all versions of zio-aws-licensemanager_3 Show documentation
Low-level AWS wrapper for ZIO
package zio.aws.licensemanager.model
import zio.ZIO
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class DeleteTokenRequest(tokenId: String) {
def buildAwsValue()
: software.amazon.awssdk.services.licensemanager.model.DeleteTokenRequest = {
import DeleteTokenRequest.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.licensemanager.model.DeleteTokenRequest
.builder()
.tokenId(tokenId: java.lang.String)
.build()
}
def asReadOnly: zio.aws.licensemanager.model.DeleteTokenRequest.ReadOnly =
zio.aws.licensemanager.model.DeleteTokenRequest.wrap(buildAwsValue())
}
object DeleteTokenRequest {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.licensemanager.model.DeleteTokenRequest
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.licensemanager.model.DeleteTokenRequest =
zio.aws.licensemanager.model.DeleteTokenRequest(tokenId)
def tokenId: String
def getTokenId: ZIO[Any, Nothing, String] = ZIO.succeed(tokenId)
}
private final class Wrapper(
impl: software.amazon.awssdk.services.licensemanager.model.DeleteTokenRequest
) extends zio.aws.licensemanager.model.DeleteTokenRequest.ReadOnly {
override val tokenId: String = impl.tokenId(): String
}
def wrap(
impl: software.amazon.awssdk.services.licensemanager.model.DeleteTokenRequest
): zio.aws.licensemanager.model.DeleteTokenRequest.ReadOnly = new Wrapper(
impl
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy