Class CfnPackage.StorageLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.panorama.CfnPackage.StorageLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackage.StorageLocationProperty>
- Enclosing interface:
CfnPackage.StorageLocationProperty
@Stability(Stable)
public static final class CfnPackage.StorageLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackage.StorageLocationProperty>
A builder for
CfnPackage.StorageLocationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbinaryPrefixLocation
(String binaryPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getBinaryPrefixLocation()
Sets the value ofCfnPackage.StorageLocationProperty.getBucket()
build()
Builds the configured instance.generatedPrefixLocation
(String generatedPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getGeneratedPrefixLocation()
manifestPrefixLocation
(String manifestPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getManifestPrefixLocation()
repoPrefixLocation
(String repoPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getRepoPrefixLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
binaryPrefixLocation
@Stability(Stable) public CfnPackage.StorageLocationProperty.Builder binaryPrefixLocation(String binaryPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getBinaryPrefixLocation()
- Parameters:
binaryPrefixLocation
- The location's binary prefix.- Returns:
this
-
bucket
Sets the value ofCfnPackage.StorageLocationProperty.getBucket()
- Parameters:
bucket
- The location's bucket.- Returns:
this
-
generatedPrefixLocation
@Stability(Stable) public CfnPackage.StorageLocationProperty.Builder generatedPrefixLocation(String generatedPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getGeneratedPrefixLocation()
- Parameters:
generatedPrefixLocation
- The location's generated prefix.- Returns:
this
-
manifestPrefixLocation
@Stability(Stable) public CfnPackage.StorageLocationProperty.Builder manifestPrefixLocation(String manifestPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getManifestPrefixLocation()
- Parameters:
manifestPrefixLocation
- The location's manifest prefix.- Returns:
this
-
repoPrefixLocation
@Stability(Stable) public CfnPackage.StorageLocationProperty.Builder repoPrefixLocation(String repoPrefixLocation) Sets the value ofCfnPackage.StorageLocationProperty.getRepoPrefixLocation()
- Parameters:
repoPrefixLocation
- The location's repo prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPackage.StorageLocationProperty>
- Returns:
- a new instance of
CfnPackage.StorageLocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-