Class CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.b2bi.CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty>
- Enclosing interface:
CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty
@Stability(Stable)
public static final class CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty>
A builder for
CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.controlNumbers(CfnPartnershipPropsMixin.X12ControlNumbersProperty controlNumbers) controlNumbers(IResolvable controlNumbers) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getDelimiters()delimiters(IResolvable delimiters) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getDelimiters()functionalGroupHeaders(CfnPartnershipPropsMixin.X12FunctionalGroupHeadersProperty functionalGroupHeaders) functionalGroupHeaders(IResolvable functionalGroupHeaders) gs05TimeFormat(String gs05TimeFormat) interchangeControlHeaders(CfnPartnershipPropsMixin.X12InterchangeControlHeadersProperty interchangeControlHeaders) interchangeControlHeaders(IResolvable interchangeControlHeaders) validateEdi(Boolean validateEdi) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getValidateEdi()validateEdi(IResolvable validateEdi) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getValidateEdi()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlNumbers
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder controlNumbers(IResolvable controlNumbers) - Parameters:
controlNumbers- Specifies control number configuration for outbound X12 EDI headers. These settings determine the starting values for interchange, functional group, and transaction set control numbers.- Returns:
this
-
controlNumbers
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder controlNumbers(CfnPartnershipPropsMixin.X12ControlNumbersProperty controlNumbers) - Parameters:
controlNumbers- Specifies control number configuration for outbound X12 EDI headers. These settings determine the starting values for interchange, functional group, and transaction set control numbers.- Returns:
this
-
delimiters
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder delimiters(IResolvable delimiters) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getDelimiters()- Parameters:
delimiters- The delimiters, for example semicolon (;), that separates sections of the headers for the X12 object.- Returns:
this
-
delimiters
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder delimiters(CfnPartnershipPropsMixin.X12DelimitersProperty delimiters) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getDelimiters()- Parameters:
delimiters- The delimiters, for example semicolon (;), that separates sections of the headers for the X12 object.- Returns:
this
-
functionalGroupHeaders
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder functionalGroupHeaders(IResolvable functionalGroupHeaders) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getFunctionalGroupHeaders()- Parameters:
functionalGroupHeaders- The functional group headers for the X12 object.- Returns:
this
-
functionalGroupHeaders
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder functionalGroupHeaders(CfnPartnershipPropsMixin.X12FunctionalGroupHeadersProperty functionalGroupHeaders) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getFunctionalGroupHeaders()- Parameters:
functionalGroupHeaders- The functional group headers for the X12 object.- Returns:
this
-
gs05TimeFormat
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder gs05TimeFormat(String gs05TimeFormat) - Parameters:
gs05TimeFormat- Specifies the time format in the GS05 element (time) of the functional group header. The following formats use 24-hour clock time:HHMM- Hours and minutesHHMMSS- Hours, minutes, and secondsHHMMSSDD- Hours, minutes, seconds, and decimal seconds
Where:
HH- Hours (00-23)MM- Minutes (00-59)SS- Seconds (00-59)DD- Hundredths of seconds (00-99)
- Returns:
this
-
interchangeControlHeaders
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder interchangeControlHeaders(IResolvable interchangeControlHeaders) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getInterchangeControlHeaders()- Parameters:
interchangeControlHeaders- In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.- Returns:
this
-
interchangeControlHeaders
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder interchangeControlHeaders(CfnPartnershipPropsMixin.X12InterchangeControlHeadersProperty interchangeControlHeaders) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getInterchangeControlHeaders()- Parameters:
interchangeControlHeaders- In X12 EDI messages, delimiters are used to mark the end of segments or elements, and are defined in the interchange control header.- Returns:
this
-
validateEdi
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder validateEdi(Boolean validateEdi) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getValidateEdi()- Parameters:
validateEdi- Specifies whether or not to validate the EDI for this X12 object:TRUEorFALSE. When enabled, this performs both standard EDI validation and applies any configured custom validation rules including element length constraints, code list validations, and element requirement checks. Validation results are returned in the response validation messages.- Returns:
this
-
validateEdi
@Stability(Stable) public CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.Builder validateEdi(IResolvable validateEdi) Sets the value ofCfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty.getValidateEdi()- Parameters:
validateEdi- Specifies whether or not to validate the EDI for this X12 object:TRUEorFALSE. When enabled, this performs both standard EDI validation and applies any configured custom validation rules including element length constraints, code list validations, and element requirement checks. Validation results are returned in the response validation messages.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty>- Returns:
- a new instance of
CfnPartnershipPropsMixin.X12OutboundEdiHeadersProperty - Throws:
NullPointerException- if any required attribute was not provided
-