Class CfnMemory.NamespaceKeyValidationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnMemory.NamespaceKeyValidationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemory.NamespaceKeyValidationProperty>
- Enclosing interface:
CfnMemory.NamespaceKeyValidationProperty
@Stability(Stable)
public static final class CfnMemory.NamespaceKeyValidationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemory.NamespaceKeyValidationProperty>
A builder for
CfnMemory.NamespaceKeyValidationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedValues(List<String> allowedValues) Sets the value ofCfnMemory.NamespaceKeyValidationProperty.getAllowedValues()build()Builds the configured instance.regexPattern(String regexPattern) Sets the value ofCfnMemory.NamespaceKeyValidationProperty.getRegexPattern()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedValues
@Stability(Stable) public CfnMemory.NamespaceKeyValidationProperty.Builder allowedValues(List<String> allowedValues) Sets the value ofCfnMemory.NamespaceKeyValidationProperty.getAllowedValues()- Parameters:
allowedValues- List of allowed values for this namespace variable.- Returns:
this
-
regexPattern
@Stability(Stable) public CfnMemory.NamespaceKeyValidationProperty.Builder regexPattern(String regexPattern) Sets the value ofCfnMemory.NamespaceKeyValidationProperty.getRegexPattern()- Parameters:
regexPattern- A regex pattern that a namespace variable value must match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemory.NamespaceKeyValidationProperty>- Returns:
- a new instance of
CfnMemory.NamespaceKeyValidationProperty - Throws:
NullPointerException- if any required attribute was not provided
-