Class CfnTransformerPropsMixin.X12CodeListValidationRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnTransformerPropsMixin.X12CodeListValidationRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformerPropsMixin.X12CodeListValidationRuleProperty>
- Enclosing interface:
CfnTransformerPropsMixin.X12CodeListValidationRuleProperty
@Stability(Stable)
public static final class CfnTransformerPropsMixin.X12CodeListValidationRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformerPropsMixin.X12CodeListValidationRuleProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.codesToAdd(List<String> codesToAdd) codesToRemove(List<String> codesToRemove)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codesToAdd
@Stability(Stable) public CfnTransformerPropsMixin.X12CodeListValidationRuleProperty.Builder codesToAdd(List<String> codesToAdd) - Parameters:
codesToAdd- Specifies a list of code values to add to the element's allowed values. These codes will be considered valid for the specified element in addition to the standard codes defined by the X12 specification.- Returns:
this
-
codesToRemove
@Stability(Stable) public CfnTransformerPropsMixin.X12CodeListValidationRuleProperty.Builder codesToRemove(List<String> codesToRemove) - Parameters:
codesToRemove- Specifies a list of code values to remove from the element's allowed values. These codes will be considered invalid for the specified element, even if they are part of the standard codes defined by the X12 specification.- Returns:
this
-
elementId
@Stability(Stable) public CfnTransformerPropsMixin.X12CodeListValidationRuleProperty.Builder elementId(String elementId) - Parameters:
elementId- Specifies the four-digit element ID to which the code list modifications apply. This identifies which X12 element will have its allowed code values modified.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformerPropsMixin.X12CodeListValidationRuleProperty>- Returns:
- a new instance of
CfnTransformerPropsMixin.X12CodeListValidationRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-