@Stability(value=Stable) public static final class CfnCanary.CodeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCanary.CodeProperty>
CfnCanary.CodeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCanary.CodeProperty |
build()
Builds the configured instance.
|
CfnCanary.CodeProperty.Builder |
handler(String handler)
Sets the value of
CfnCanary.CodeProperty.getHandler() |
CfnCanary.CodeProperty.Builder |
s3Bucket(String s3Bucket)
Sets the value of
CfnCanary.CodeProperty.getS3Bucket() |
CfnCanary.CodeProperty.Builder |
s3Key(String s3Key)
Sets the value of
CfnCanary.CodeProperty.getS3Key() |
CfnCanary.CodeProperty.Builder |
s3ObjectVersion(String s3ObjectVersion)
Sets the value of
CfnCanary.CodeProperty.getS3ObjectVersion() |
CfnCanary.CodeProperty.Builder |
script(String script)
Sets the value of
CfnCanary.CodeProperty.getScript() |
@Stability(value=Stable) public CfnCanary.CodeProperty.Builder handler(String handler)
CfnCanary.CodeProperty.getHandler()handler - `CfnCanary.CodeProperty.Handler`. This parameter is required.this@Stability(value=Stable) public CfnCanary.CodeProperty.Builder s3Bucket(String s3Bucket)
CfnCanary.CodeProperty.getS3Bucket()s3Bucket - `CfnCanary.CodeProperty.S3Bucket`.this@Stability(value=Stable) public CfnCanary.CodeProperty.Builder s3Key(String s3Key)
CfnCanary.CodeProperty.getS3Key()s3Key - `CfnCanary.CodeProperty.S3Key`.this@Stability(value=Stable) public CfnCanary.CodeProperty.Builder s3ObjectVersion(String s3ObjectVersion)
CfnCanary.CodeProperty.getS3ObjectVersion()s3ObjectVersion - `CfnCanary.CodeProperty.S3ObjectVersion`.this@Stability(value=Stable) public CfnCanary.CodeProperty.Builder script(String script)
CfnCanary.CodeProperty.getScript()script - `CfnCanary.CodeProperty.Script`.this@Stability(value=Stable) public CfnCanary.CodeProperty build()
build in interface software.amazon.jsii.Builder<CfnCanary.CodeProperty>CfnCanary.CodePropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.