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- the value to be set.- Returns:
this
-
packageName
Sets the value ofCfnSoftwarePackageProps.getPackageName()- Parameters:
packageName- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnSoftwarePackageProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- 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
-