Class CfnPackage.Builder
java.lang.Object
software.amazon.awscdk.services.panorama.CfnPackage.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackage>
- Enclosing class:
- CfnPackage
@Stability(Stable)
public static final class CfnPackage.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackage>
A fluent builder for
CfnPackage.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnPackage.BuilderpackageName(String packageName) A name for the package.storageLocation(IResolvable storageLocation) AWS::Panorama::Package.StorageLocation.storageLocation(CfnPackage.StorageLocationProperty storageLocation) AWS::Panorama::Package.StorageLocation.Tags for the package.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnPackage.Builder.
-
packageName
A name for the package.- Parameters:
packageName- A name for the package. This parameter is required.- Returns:
this
-
storageLocation
AWS::Panorama::Package.StorageLocation.- Parameters:
storageLocation-AWS::Panorama::Package.StorageLocation. This parameter is required.- Returns:
this
-
storageLocation
@Stability(Stable) public CfnPackage.Builder storageLocation(CfnPackage.StorageLocationProperty storageLocation) AWS::Panorama::Package.StorageLocation.- Parameters:
storageLocation-AWS::Panorama::Package.StorageLocation. This parameter is required.- Returns:
this
-
tags
Tags for the package.- Parameters:
tags- Tags for the package. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackage>- Returns:
- a newly built instance of
CfnPackage.
-