@Stability(value=Experimental) public static final class CodeConfig.Builder extends Object implements software.amazon.jsii.Builder<CodeConfig>
CodeConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeConfig |
build()
Builds the configured instance.
|
CodeConfig.Builder |
image(CodeImageConfig image)
Sets the value of
CodeConfig.getImage() |
CodeConfig.Builder |
inlineCode(String inlineCode)
Sets the value of
CodeConfig.getInlineCode() |
CodeConfig.Builder |
s3Location(Location s3Location)
Sets the value of
CodeConfig.getS3Location() |
@Stability(value=Experimental) public CodeConfig.Builder image(CodeImageConfig image)
CodeConfig.getImage()image - Docker image configuration (mutually exclusive with `s3Location` and `inlineCode`).this@Stability(value=Experimental) public CodeConfig.Builder inlineCode(String inlineCode)
CodeConfig.getInlineCode()inlineCode - Inline code (mutually exclusive with `s3Location` and `image`).this@Stability(value=Experimental) public CodeConfig.Builder s3Location(Location s3Location)
CodeConfig.getS3Location()s3Location - The location of the code in S3 (mutually exclusive with `inlineCode` and `image`).this@Stability(value=Experimental) public CodeConfig build()
build in interface software.amazon.jsii.Builder<CodeConfig>CodeConfigNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.