@Stability(value=Stable) public static final class CfnRestApi.S3LocationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRestApi.S3LocationProperty>
CfnRestApi.S3LocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRestApi.S3LocationProperty.Builder |
bucket(String bucket)
Sets the value of
CfnRestApi.S3LocationProperty.getBucket() |
CfnRestApi.S3LocationProperty |
build()
Builds the configured instance.
|
CfnRestApi.S3LocationProperty.Builder |
eTag(String eTag)
Sets the value of
CfnRestApi.S3LocationProperty.getETag() |
CfnRestApi.S3LocationProperty.Builder |
key(String key)
Sets the value of
CfnRestApi.S3LocationProperty.getKey() |
CfnRestApi.S3LocationProperty.Builder |
version(String version)
Sets the value of
CfnRestApi.S3LocationProperty.getVersion() |
@Stability(value=Stable) public CfnRestApi.S3LocationProperty.Builder bucket(String bucket)
CfnRestApi.S3LocationProperty.getBucket()bucket - The name of the S3 bucket where the OpenAPI file is stored.this@Stability(value=Stable) public CfnRestApi.S3LocationProperty.Builder eTag(String eTag)
CfnRestApi.S3LocationProperty.getETag()eTag - The Amazon S3 ETag (a file checksum) of the OpenAPI file.
If you don't specify a value, API Gateway skips ETag validation of your OpenAPI file.this@Stability(value=Stable) public CfnRestApi.S3LocationProperty.Builder key(String key)
CfnRestApi.S3LocationProperty.getKey()key - The file name of the OpenAPI file (Amazon S3 object name).this@Stability(value=Stable) public CfnRestApi.S3LocationProperty.Builder version(String version)
CfnRestApi.S3LocationProperty.getVersion()version - For versioning-enabled buckets, a specific version of the OpenAPI file.this@Stability(value=Stable) public CfnRestApi.S3LocationProperty build()
build in interface software.amazon.jsii.Builder<CfnRestApi.S3LocationProperty>CfnRestApi.S3LocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.