public static final class FunctionResource.CodeProperty.Builder extends Object
FunctionResource.CodeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionResource.CodeProperty |
build()
Builds the configured instance.
|
FunctionResource.CodeProperty.Builder |
withS3Bucket(String value)
Sets the value of S3Bucket
|
FunctionResource.CodeProperty.Builder |
withS3Bucket(software.amazon.awscdk.Token value)
Sets the value of S3Bucket
|
FunctionResource.CodeProperty.Builder |
withS3Key(String value)
Sets the value of S3Key
|
FunctionResource.CodeProperty.Builder |
withS3Key(software.amazon.awscdk.Token value)
Sets the value of S3Key
|
FunctionResource.CodeProperty.Builder |
withS3ObjectVersion(String value)
Sets the value of S3ObjectVersion
|
FunctionResource.CodeProperty.Builder |
withS3ObjectVersion(software.amazon.awscdk.Token value)
Sets the value of S3ObjectVersion
|
FunctionResource.CodeProperty.Builder |
withZipFile(String value)
Sets the value of ZipFile
|
FunctionResource.CodeProperty.Builder |
withZipFile(software.amazon.awscdk.Token value)
Sets the value of ZipFile
|
public FunctionResource.CodeProperty.Builder withS3Bucket(@Nullable String value)
value - ``FunctionResource.CodeProperty.S3Bucket``thispublic FunctionResource.CodeProperty.Builder withS3Bucket(@Nullable software.amazon.awscdk.Token value)
value - ``FunctionResource.CodeProperty.S3Bucket``thispublic FunctionResource.CodeProperty.Builder withS3Key(@Nullable String value)
value - ``FunctionResource.CodeProperty.S3Key``thispublic FunctionResource.CodeProperty.Builder withS3Key(@Nullable software.amazon.awscdk.Token value)
value - ``FunctionResource.CodeProperty.S3Key``thispublic FunctionResource.CodeProperty.Builder withS3ObjectVersion(@Nullable String value)
value - ``FunctionResource.CodeProperty.S3ObjectVersion``thispublic FunctionResource.CodeProperty.Builder withS3ObjectVersion(@Nullable software.amazon.awscdk.Token value)
value - ``FunctionResource.CodeProperty.S3ObjectVersion``thispublic FunctionResource.CodeProperty.Builder withZipFile(@Nullable String value)
value - ``FunctionResource.CodeProperty.ZipFile``thispublic FunctionResource.CodeProperty.Builder withZipFile(@Nullable software.amazon.awscdk.Token value)
value - ``FunctionResource.CodeProperty.ZipFile``thispublic FunctionResource.CodeProperty build()
FunctionResource.CodePropertyNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.