Class CfnSoftwarePackageVersion.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSoftwarePackageVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageVersion>
- Enclosing class:
CfnSoftwarePackageVersion
@Stability(Stable)
public static final class CfnSoftwarePackageVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageVersion>
A fluent builder for
CfnSoftwarePackageVersion
.-
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()
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 CfnSoftwarePackageVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSoftwarePackageVersion.Builder
.
-
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:
-
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 CfnSoftwarePackageVersion.Builder artifact(CfnSoftwarePackageVersion.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 CfnSoftwarePackageVersion.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
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
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:
-
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 CfnSoftwarePackageVersion.Builder sbom(CfnSoftwarePackageVersion.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
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
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageVersion>
- Returns:
- a newly built instance of
CfnSoftwarePackageVersion
.
-