Class CfnStack.OutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.CfnStack.OutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack.OutputProperty>
- Enclosing interface:
CfnStack.OutputProperty
@Stability(Stable)
public static final class CfnStack.OutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStack.OutputProperty>
A builder for
CfnStack.OutputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnStack.OutputProperty.getDescription()exportName(String exportName) Sets the value ofCfnStack.OutputProperty.getExportName()Sets the value ofCfnStack.OutputProperty.getOutputKey()outputValue(String outputValue) Sets the value ofCfnStack.OutputProperty.getOutputValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnStack.OutputProperty.getDescription()- Parameters:
description- User defined description associated with the output.- Returns:
this
-
exportName
Sets the value ofCfnStack.OutputProperty.getExportName()- Parameters:
exportName- The name of the export associated with the output.- Returns:
this
-
outputKey
Sets the value ofCfnStack.OutputProperty.getOutputKey()- Parameters:
outputKey- The key associated with the output.- Returns:
this
-
outputValue
Sets the value ofCfnStack.OutputProperty.getOutputValue()- Parameters:
outputValue- The value associated with the output.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStack.OutputProperty>- Returns:
- a new instance of
CfnStack.OutputProperty - Throws:
NullPointerException- if any required attribute was not provided
-