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