Class CfnSoftwarePackageVersionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnSoftwarePackageVersionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageVersionPropsMixin>
- Enclosing class:
CfnSoftwarePackageVersionPropsMixin
@Stability(Stable)
public static final class CfnSoftwarePackageVersionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageVersionPropsMixin>
A fluent builder for
CfnSoftwarePackageVersionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionartifact(IResolvable artifact) The artifact location of the package version.The artifact location of the package version.attributes(Map<String, String> attributes) Metadata that can be used to define a package version’s configuration.attributes(IResolvable attributes) Metadata that can be used to define a package version’s configuration.build()create()create(CfnPropertyMixinOptions options) description(String description) A summary of the package version being created.packageName(String packageName) The name of the associated software package.The inline json job document associated with a software package version.sbom(IResolvable sbom) The sbom zip archive location of the package version.The sbom zip archive location of the package version.Metadata that can be used to manage the package version.versionName(String versionName) The name of the new package version.
-
Method Details
-
create
@Stability(Stable) public static CfnSoftwarePackageVersionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSoftwarePackageVersionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSoftwarePackageVersionPropsMixin.Builder.
-
artifact
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder artifact(IResolvable artifact) The artifact location of the package version.- Parameters:
artifact- The artifact location of the package version. This parameter is required.- Returns:
this- See Also:
-
artifact
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder artifact(CfnSoftwarePackageVersionPropsMixin.PackageVersionArtifactProperty artifact) The artifact location of the package version.- Parameters:
artifact- The artifact location of the package version. This parameter is required.- Returns:
this- See Also:
-
attributes
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder attributes(Map<String, String> 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.
- Parameters:
attributes- Metadata that can be used to define a package version’s configuration. This parameter is required.- Returns:
this- See Also:
-
attributes
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder attributes(IResolvable 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.
- Parameters:
attributes- Metadata that can be used to define a package version’s configuration. This parameter is required.- Returns:
this- See Also:
-
description
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder description(String description) A summary of the package version being created.This can be used to outline the package's contents or purpose.
- Parameters:
description- A summary of the package version being created. This parameter is required.- Returns:
this- See Also:
-
packageName
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder packageName(String packageName) The name of the associated software package.- Parameters:
packageName- The name of the associated software package. This parameter is required.- Returns:
this- See Also:
-
recipe
The inline json job document associated with a software package version.- Parameters:
recipe- The inline json job document associated with a software package version. This parameter is required.- Returns:
this- See Also:
-
sbom
The sbom zip archive location of the package version.- Parameters:
sbom- The sbom zip archive location of the package version. This parameter is required.- Returns:
this- See Also:
-
sbom
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder sbom(CfnSoftwarePackageVersionPropsMixin.SbomProperty sbom) The sbom zip archive location of the package version.- Parameters:
sbom- The sbom zip archive location of the package version. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder tags(List<? extends CfnTag> tags) Metadata that can be used to manage the package version.- Parameters:
tags- Metadata that can be used to manage the package version. This parameter is required.- Returns:
this- See Also:
-
versionName
@Stability(Stable) public CfnSoftwarePackageVersionPropsMixin.Builder versionName(String versionName) The name of the new package version.- Parameters:
versionName- The name of the new package version. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageVersionPropsMixin>- Returns:
- a newly built instance of
CfnSoftwarePackageVersionPropsMixin.
-