public static final class FunctionResource.S3LocationProperty.Builder extends Object
FunctionResource.S3LocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionResource.S3LocationProperty |
build()
Builds the configured instance.
|
FunctionResource.S3LocationProperty.Builder |
withBucket(software.amazon.awscdk.CloudFormationToken value)
Sets the value of Bucket
|
FunctionResource.S3LocationProperty.Builder |
withBucket(String value)
Sets the value of Bucket
|
FunctionResource.S3LocationProperty.Builder |
withKey(software.amazon.awscdk.CloudFormationToken value)
Sets the value of Key
|
FunctionResource.S3LocationProperty.Builder |
withKey(String value)
Sets the value of Key
|
FunctionResource.S3LocationProperty.Builder |
withVersion(software.amazon.awscdk.CloudFormationToken value)
Sets the value of Version
|
FunctionResource.S3LocationProperty.Builder |
withVersion(Number value)
Sets the value of Version
|
public FunctionResource.S3LocationProperty.Builder withBucket(String value)
value - ``FunctionResource.S3LocationProperty.Bucket``thispublic FunctionResource.S3LocationProperty.Builder withBucket(software.amazon.awscdk.CloudFormationToken value)
value - ``FunctionResource.S3LocationProperty.Bucket``thispublic FunctionResource.S3LocationProperty.Builder withKey(String value)
value - ``FunctionResource.S3LocationProperty.Key``thispublic FunctionResource.S3LocationProperty.Builder withKey(software.amazon.awscdk.CloudFormationToken value)
value - ``FunctionResource.S3LocationProperty.Key``thispublic FunctionResource.S3LocationProperty.Builder withVersion(@Nullable Number value)
value - ``FunctionResource.S3LocationProperty.Version``thispublic FunctionResource.S3LocationProperty.Builder withVersion(@Nullable software.amazon.awscdk.CloudFormationToken value)
value - ``FunctionResource.S3LocationProperty.Version``thispublic FunctionResource.S3LocationProperty build()
FunctionResource.S3LocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2018. All rights reserved.