zio.aws.costoptimizationhub.model.GetPreferencesRequest.scala Maven / Gradle / Ivy
package zio.aws.costoptimizationhub.model
import zio.aws.core.BuilderHelper
import scala.jdk.CollectionConverters.*
final case class GetPreferencesRequest() {
def buildAwsValue()
: software.amazon.awssdk.services.costoptimizationhub.model.GetPreferencesRequest = {
import GetPreferencesRequest.zioAwsBuilderHelper.BuilderOps
software.amazon.awssdk.services.costoptimizationhub.model.GetPreferencesRequest
.builder()
.build()
}
def asReadOnly
: zio.aws.costoptimizationhub.model.GetPreferencesRequest.ReadOnly =
zio.aws.costoptimizationhub.model.GetPreferencesRequest
.wrap(buildAwsValue())
}
object GetPreferencesRequest {
private lazy val zioAwsBuilderHelper: BuilderHelper[
software.amazon.awssdk.services.costoptimizationhub.model.GetPreferencesRequest
] = BuilderHelper.apply
trait ReadOnly {
def asEditable: zio.aws.costoptimizationhub.model.GetPreferencesRequest =
zio.aws.costoptimizationhub.model.GetPreferencesRequest()
}
private final class Wrapper(
impl: software.amazon.awssdk.services.costoptimizationhub.model.GetPreferencesRequest
) extends zio.aws.costoptimizationhub.model.GetPreferencesRequest.ReadOnly
def wrap(
impl: software.amazon.awssdk.services.costoptimizationhub.model.GetPreferencesRequest
): zio.aws.costoptimizationhub.model.GetPreferencesRequest.ReadOnly =
new Wrapper(impl)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy