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