Class CfnSoftwarePackageVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnSoftwarePackageVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageVersionMixinProps>
- Enclosing interface:
CfnSoftwarePackageVersionMixinProps
@Stability(Stable)
public static final class CfnSoftwarePackageVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageVersionMixinProps>
A builder for
CfnSoftwarePackageVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSoftwarePackageVersionMixinProps.getArtifact()artifact(IResolvable artifact) Sets the value ofCfnSoftwarePackageVersionMixinProps.getArtifact()attributes(Map<String, String> attributes) Sets the value ofCfnSoftwarePackageVersionMixinProps.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnSoftwarePackageVersionMixinProps.getAttributes()build()Builds the configured instance.description(String description) Sets the value ofCfnSoftwarePackageVersionMixinProps.getDescription()packageName(String packageName) Sets the value ofCfnSoftwarePackageVersionMixinProps.getPackageName()Sets the value ofCfnSoftwarePackageVersionMixinProps.getRecipe()Sets the value ofCfnSoftwarePackageVersionMixinProps.getSbom()sbom(IResolvable sbom) Sets the value ofCfnSoftwarePackageVersionMixinProps.getSbom()Sets the value ofCfnSoftwarePackageVersionMixinProps.getTags()versionName(String versionName) Sets the value ofCfnSoftwarePackageVersionMixinProps.getVersionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifact
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder artifact(IResolvable artifact) Sets the value ofCfnSoftwarePackageVersionMixinProps.getArtifact()- Parameters:
artifact- The artifact location of the package version.- Returns:
this
-
artifact
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder artifact(CfnSoftwarePackageVersionPropsMixin.PackageVersionArtifactProperty artifact) Sets the value ofCfnSoftwarePackageVersionMixinProps.getArtifact()- Parameters:
artifact- The artifact location of the package version.- Returns:
this
-
attributes
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder attributes(Map<String, String> attributes) Sets the value ofCfnSoftwarePackageVersionMixinProps.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 CfnSoftwarePackageVersionMixinProps.Builder attributes(IResolvable attributes) Sets the value ofCfnSoftwarePackageVersionMixinProps.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
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder description(String description) Sets the value ofCfnSoftwarePackageVersionMixinProps.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
-
packageName
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder packageName(String packageName) Sets the value ofCfnSoftwarePackageVersionMixinProps.getPackageName()- Parameters:
packageName- The name of the associated software package.- Returns:
this
-
recipe
Sets the value ofCfnSoftwarePackageVersionMixinProps.getRecipe()- Parameters:
recipe- The inline json job document associated with a software package version.- Returns:
this
-
sbom
Sets the value ofCfnSoftwarePackageVersionMixinProps.getSbom()- Parameters:
sbom- The sbom zip archive location of the package version.- Returns:
this
-
sbom
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder sbom(CfnSoftwarePackageVersionPropsMixin.SbomProperty sbom) Sets the value ofCfnSoftwarePackageVersionMixinProps.getSbom()- Parameters:
sbom- The sbom zip archive location of the package version.- Returns:
this
-
tags
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnSoftwarePackageVersionMixinProps.getTags()- Parameters:
tags- Metadata that can be used to manage the package version.- Returns:
this
-
versionName
@Stability(Stable) public CfnSoftwarePackageVersionMixinProps.Builder versionName(String versionName) Sets the value ofCfnSoftwarePackageVersionMixinProps.getVersionName()- Parameters:
versionName- The name of the new package version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageVersionMixinProps>- Returns:
- a new instance of
CfnSoftwarePackageVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-