Class CfnSoftwarePackageProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSoftwarePackageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageProps>
- Enclosing interface:
CfnSoftwarePackageProps
@Stability(Stable)
public static final class CfnSoftwarePackageProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageProps>
A builder for
CfnSoftwarePackageProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSoftwarePackageProps.getDescription()packageName(String packageName) Sets the value ofCfnSoftwarePackageProps.getPackageName()Sets the value ofCfnSoftwarePackageProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSoftwarePackageProps.getDescription()- Parameters:
description- A summary of the package being created. This can be used to outline the package's contents or purpose.- Returns:
this
-
packageName
Sets the value ofCfnSoftwarePackageProps.getPackageName()- Parameters:
packageName- The name of the new software package.- Returns:
this
-
tags
Sets the value ofCfnSoftwarePackageProps.getTags()- Parameters:
tags- Metadata that can be used to manage the package.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageProps>- Returns:
- a new instance of
CfnSoftwarePackageProps - Throws:
NullPointerException- if any required attribute was not provided
-