Class CfnSoftwarePackageVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnSoftwarePackageVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSoftwarePackageVersionProps>
- Enclosing interface:
CfnSoftwarePackageVersionProps
@Stability(Stable)
public static final class CfnSoftwarePackageVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSoftwarePackageVersionProps>
A builder for
CfnSoftwarePackageVersionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
attributes
(IResolvable attributes) Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnSoftwarePackageVersionProps.getDescription()
packageName
(String packageName) Sets the value ofCfnSoftwarePackageVersionProps.getPackageName()
Sets the value ofCfnSoftwarePackageVersionProps.getTags()
versionName
(String versionName) Sets the value ofCfnSoftwarePackageVersionProps.getVersionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
packageName
Sets the value ofCfnSoftwarePackageVersionProps.getPackageName()
- Parameters:
packageName
- the value to be set. This parameter is required.- Returns:
this
-
attributes
Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
- Parameters:
attributes
- the value to be set.- Returns:
this
-
attributes
@Stability(Stable) public CfnSoftwarePackageVersionProps.Builder attributes(Map<String, String> attributes) Sets the value ofCfnSoftwarePackageVersionProps.getAttributes()
- Parameters:
attributes
- the value to be set.- Returns:
this
-
description
Sets the value ofCfnSoftwarePackageVersionProps.getDescription()
- Parameters:
description
- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnSoftwarePackageVersionProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
this
-
versionName
Sets the value ofCfnSoftwarePackageVersionProps.getVersionName()
- Parameters:
versionName
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSoftwarePackageVersionProps>
- Returns:
- a new instance of
CfnSoftwarePackageVersionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-