Class SoftwarePackageReference.Builder
java.lang.Object
software.amazon.awscdk.services.iot.SoftwarePackageReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SoftwarePackageReference>
- Enclosing interface:
SoftwarePackageReference
@Stability(Stable)
public static final class SoftwarePackageReference.Builder
extends Object
implements software.amazon.jsii.Builder<SoftwarePackageReference>
A builder for
SoftwarePackageReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.packageName
(String packageName) Sets the value ofSoftwarePackageReference.getPackageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
packageName
Sets the value ofSoftwarePackageReference.getPackageName()
- Parameters:
packageName
- The PackageName of the SoftwarePackage resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SoftwarePackageReference>
- Returns:
- a new instance of
SoftwarePackageReference
- Throws:
NullPointerException
- if any required attribute was not provided
-