Class CfnPackageProps.Builder
java.lang.Object
software.amazon.awscdk.services.panorama.CfnPackageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackageProps>
- Enclosing interface:
CfnPackageProps
@Stability(Stable)
public static final class CfnPackageProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackageProps>
A builder for
CfnPackageProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.packageName
(String packageName) Sets the value ofCfnPackageProps.getPackageName()
storageLocation
(IResolvable storageLocation) Sets the value ofCfnPackageProps.getStorageLocation()
storageLocation
(CfnPackage.StorageLocationProperty storageLocation) Sets the value ofCfnPackageProps.getStorageLocation()
Sets the value ofCfnPackageProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
packageName
Sets the value ofCfnPackageProps.getPackageName()
- Parameters:
packageName
- A name for the package. This parameter is required.- Returns:
this
-
storageLocation
Sets the value ofCfnPackageProps.getStorageLocation()
- Parameters:
storageLocation
-AWS::Panorama::Package.StorageLocation
.- Returns:
this
-
storageLocation
@Stability(Stable) public CfnPackageProps.Builder storageLocation(CfnPackage.StorageLocationProperty storageLocation) Sets the value ofCfnPackageProps.getStorageLocation()
- Parameters:
storageLocation
-AWS::Panorama::Package.StorageLocation
.- Returns:
this
-
tags
Sets the value ofCfnPackageProps.getTags()
- Parameters:
tags
- Tags for the package.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPackageProps>
- Returns:
- a new instance of
CfnPackageProps
- Throws:
NullPointerException
- if any required attribute was not provided
-