Class CfnConfigurationProfile.ValidatorsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnConfigurationProfile.ValidatorsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationProfile.ValidatorsProperty>
- Enclosing interface:
- CfnConfigurationProfile.ValidatorsProperty
@Stability(Stable)
public static final class CfnConfigurationProfile.ValidatorsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationProfile.ValidatorsProperty>
A builder for
CfnConfigurationProfile.ValidatorsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConfigurationProfile.ValidatorsProperty.getContent()Sets the value ofCfnConfigurationProfile.ValidatorsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
@Stability(Stable) public CfnConfigurationProfile.ValidatorsProperty.Builder content(String content) Sets the value ofCfnConfigurationProfile.ValidatorsProperty.getContent()- Parameters:
content- Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.- Returns:
this
-
type
Sets the value ofCfnConfigurationProfile.ValidatorsProperty.getType()- Parameters:
type- AWS AppConfig supports validators of typeJSON_SCHEMAandLAMBDA.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationProfile.ValidatorsProperty>- Returns:
- a new instance of
CfnConfigurationProfile.ValidatorsProperty - Throws:
NullPointerException- if any required attribute was not provided
-