Class CfnApplicationVersion.SourceBundleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersion.SourceBundleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationVersion.SourceBundleProperty>
- Enclosing interface:
CfnApplicationVersion.SourceBundleProperty
@Stability(Stable)
public static final class CfnApplicationVersion.SourceBundleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationVersion.SourceBundleProperty>
A builder for
CfnApplicationVersion.SourceBundleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApplicationVersion.SourceBundleProperty.getS3Bucket()
Sets the value ofCfnApplicationVersion.SourceBundleProperty.getS3Key()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Bucket
@Stability(Stable) public CfnApplicationVersion.SourceBundleProperty.Builder s3Bucket(String s3Bucket) Sets the value ofCfnApplicationVersion.SourceBundleProperty.getS3Bucket()
- Parameters:
s3Bucket
- The Amazon S3 bucket where the data is located. This parameter is required.- Returns:
this
-
s3Key
Sets the value ofCfnApplicationVersion.SourceBundleProperty.getS3Key()
- Parameters:
s3Key
- The Amazon S3 key where the data is located. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationVersion.SourceBundleProperty>
- Returns:
- a new instance of
CfnApplicationVersion.SourceBundleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-