Class CfnSoftwarePackageVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSoftwarePackageVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageVersionProps>
- Enclosing interface:
CfnSoftwarePackageVersionProps
@Stability(Stable)
public static final class CfnSoftwarePackageVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageVersionProps>
A builder for
CfnSoftwarePackageVersionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
attributes
(IResolvable attributes) Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnSoftwarePackageVersionProps.getDescription()
packageName
(String packageName) Sets the value ofCfnSoftwarePackageVersionProps.getPackageName()
Sets the value ofCfnSoftwarePackageVersionProps.getTags()
versionName
(String versionName) Sets the value ofCfnSoftwarePackageVersionProps.getVersionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
packageName
Sets the value ofCfnSoftwarePackageVersionProps.getPackageName()
- Parameters:
packageName
- The name of the associated software package. This parameter is required.- Returns:
this
-
attributes
Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
- Parameters:
attributes
- Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.The combined size of all the attributes on a package version is limited to 3KB.
- Returns:
this
-
attributes
@Stability(Stable) public CfnSoftwarePackageVersionProps.Builder attributes(Map<String, String> attributes) Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
- Parameters:
attributes
- Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.The combined size of all the attributes on a package version is limited to 3KB.
- Returns:
this
-
description
Sets the value ofCfnSoftwarePackageVersionProps.getDescription()
- Parameters:
description
- A summary of the package version being created. This can be used to outline the package's contents or purpose.- Returns:
this
-
tags
Sets the value ofCfnSoftwarePackageVersionProps.getTags()
- Parameters:
tags
- Metadata that can be used to manage the package version.- Returns:
this
-
versionName
Sets the value ofCfnSoftwarePackageVersionProps.getVersionName()
- Parameters:
versionName
- The name of the new package version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageVersionProps>
- Returns:
- a new instance of
CfnSoftwarePackageVersionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-