Class CfnPredefinedAttribute.ValuesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnPredefinedAttribute.ValuesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPredefinedAttribute.ValuesProperty>
- Enclosing interface:
CfnPredefinedAttribute.ValuesProperty
@Stability(Stable)
public static final class CfnPredefinedAttribute.ValuesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPredefinedAttribute.ValuesProperty>
A builder for
CfnPredefinedAttribute.ValuesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.stringList
(List<String> stringList) Sets the value ofCfnPredefinedAttribute.ValuesProperty.getStringList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stringList
@Stability(Stable) public CfnPredefinedAttribute.ValuesProperty.Builder stringList(List<String> stringList) Sets the value ofCfnPredefinedAttribute.ValuesProperty.getStringList()
- Parameters:
stringList
- Predefined attribute values of type string list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPredefinedAttribute.ValuesProperty>
- Returns:
- a new instance of
CfnPredefinedAttribute.ValuesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-