Interface CfnMemory.ValidationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemory.ValidationProperty.Jsii$Proxy
- Enclosing class:
CfnMemory
@Stability(Stable)
public static interface CfnMemory.ValidationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
ValidationProperty validationProperty = ValidationProperty.builder()
.numberValidation(NumberValidationProperty.builder()
.maxValue(123)
.minValue(123)
.build())
.stringListValidation(StringListValidationProperty.builder()
.allowedValues(List.of("allowedValues"))
.maxItems(123)
.build())
.stringValidation(StringValidationProperty.builder()
.allowedValues(List.of("allowedValues"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMemory.ValidationPropertystatic final classAn implementation forCfnMemory.ValidationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnMemory.NumberValidationPropertydefault ObjectReturns union: eitherIResolvableorCfnMemory.StringListValidationPropertydefault ObjectReturns union: eitherIResolvableorCfnMemory.StringValidationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNumberValidation
Returns union: eitherIResolvableorCfnMemory.NumberValidationProperty- See Also:
-
getStringListValidation
Returns union: eitherIResolvableorCfnMemory.StringListValidationProperty- See Also:
-
getStringValidation
Returns union: eitherIResolvableorCfnMemory.StringValidationProperty- See Also:
-
builder
-