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