Class CfnSoftwarePackageVersion.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSoftwarePackageVersion.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageVersion.S3LocationProperty>
- Enclosing interface:
CfnSoftwarePackageVersion.S3LocationProperty
@Stability(Stable)
public static final class CfnSoftwarePackageVersion.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageVersion.S3LocationProperty>
A builder for
CfnSoftwarePackageVersion.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSoftwarePackageVersion.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnSoftwarePackageVersion.S3LocationProperty.getKey()Sets the value ofCfnSoftwarePackageVersion.S3LocationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnSoftwarePackageVersion.S3LocationProperty.Builder bucket(String bucket) Sets the value ofCfnSoftwarePackageVersion.S3LocationProperty.getBucket()- Parameters:
bucket- The S3 bucket. This parameter is required.- Returns:
this
-
key
Sets the value ofCfnSoftwarePackageVersion.S3LocationProperty.getKey()- Parameters:
key- The S3 key. This parameter is required.- Returns:
this
-
version
@Stability(Stable) public CfnSoftwarePackageVersion.S3LocationProperty.Builder version(String version) Sets the value ofCfnSoftwarePackageVersion.S3LocationProperty.getVersion()- Parameters:
version- The S3 version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageVersion.S3LocationProperty>- Returns:
- a new instance of
CfnSoftwarePackageVersion.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-