Class CfnLayerVersion.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnLayerVersion.S3LocationProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnLayerVersion.S3LocationProperty>
- Enclosing interface:
- CfnLayerVersion.S3LocationProperty
@Stability(Stable)
public static final class CfnLayerVersion.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLayerVersion.S3LocationProperty>
A builder for 
CfnLayerVersion.S3LocationProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofCfnLayerVersion.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnLayerVersion.S3LocationProperty.getKey()Sets the value ofCfnLayerVersion.S3LocationProperty.getVersion()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
bucketSets the value ofCfnLayerVersion.S3LocationProperty.getBucket()- Parameters:
- bucket-- CfnLayerVersion.S3LocationProperty.Bucket. This parameter is required.
- Returns:
- this
 
- 
keySets the value ofCfnLayerVersion.S3LocationProperty.getKey()- Parameters:
- key-- CfnLayerVersion.S3LocationProperty.Key. This parameter is required.
- Returns:
- this
 
- 
versionSets the value ofCfnLayerVersion.S3LocationProperty.getVersion()- Parameters:
- version-- CfnLayerVersion.S3LocationProperty.Version.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnLayerVersion.S3LocationProperty>
- Returns:
- a new instance of CfnLayerVersion.S3LocationProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-