Class NestedCloudAssemblyProperties.Builder
java.lang.Object
software.amazon.awscdk.cloudassembly.schema.NestedCloudAssemblyProperties.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NestedCloudAssemblyProperties>
- Enclosing interface:
NestedCloudAssemblyProperties
@Stability(Stable)
public static final class NestedCloudAssemblyProperties.Builder
extends Object
implements software.amazon.jsii.Builder<NestedCloudAssemblyProperties>
A builder for
NestedCloudAssemblyProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.directoryName
(String directoryName) Sets the value ofNestedCloudAssemblyProperties.getDirectoryName()
displayName
(String displayName) Sets the value ofNestedCloudAssemblyProperties.getDisplayName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
directoryName
Sets the value ofNestedCloudAssemblyProperties.getDirectoryName()
- Parameters:
directoryName
- Relative path to the nested cloud assembly. This parameter is required.- Returns:
this
-
displayName
Sets the value ofNestedCloudAssemblyProperties.getDisplayName()
- Parameters:
displayName
- Display name for the cloud assembly.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<NestedCloudAssemblyProperties>
- Returns:
- a new instance of
NestedCloudAssemblyProperties
- Throws:
NullPointerException
- if any required attribute was not provided
-