@Stability(value=Stable) public static final class CfnApi.BodyS3LocationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApi.BodyS3LocationProperty>
CfnApi.BodyS3LocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApi.BodyS3LocationProperty.Builder |
bucket(String bucket)
Sets the value of
CfnApi.BodyS3LocationProperty.getBucket() |
CfnApi.BodyS3LocationProperty |
build()
Builds the configured instance.
|
CfnApi.BodyS3LocationProperty.Builder |
etag(String etag)
Sets the value of
CfnApi.BodyS3LocationProperty.getEtag() |
CfnApi.BodyS3LocationProperty.Builder |
key(String key)
Sets the value of
CfnApi.BodyS3LocationProperty.getKey() |
CfnApi.BodyS3LocationProperty.Builder |
version(String version)
Sets the value of
CfnApi.BodyS3LocationProperty.getVersion() |
@Stability(value=Stable) public CfnApi.BodyS3LocationProperty.Builder bucket(String bucket)
CfnApi.BodyS3LocationProperty.getBucket()bucket - The S3 bucket that contains the OpenAPI definition to import.
Required if you specify a BodyS3Location for an API.this@Stability(value=Stable) public CfnApi.BodyS3LocationProperty.Builder etag(String etag)
CfnApi.BodyS3LocationProperty.getEtag()etag - The Etag of the S3 object.this@Stability(value=Stable) public CfnApi.BodyS3LocationProperty.Builder key(String key)
CfnApi.BodyS3LocationProperty.getKey()key - The key of the S3 object.
Required if you specify a BodyS3Location for an API.this@Stability(value=Stable) public CfnApi.BodyS3LocationProperty.Builder version(String version)
CfnApi.BodyS3LocationProperty.getVersion()version - The version of the S3 object.this@Stability(value=Stable) public CfnApi.BodyS3LocationProperty build()
build in interface software.amazon.jsii.Builder<CfnApi.BodyS3LocationProperty>CfnApi.BodyS3LocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.