Class CfnPartnership.X12OutboundEdiHeadersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnPartnership.X12OutboundEdiHeadersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnership.X12OutboundEdiHeadersProperty>
- Enclosing interface:
CfnPartnership.X12OutboundEdiHeadersProperty
@Stability(Stable)
public static final class CfnPartnership.X12OutboundEdiHeadersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnership.X12OutboundEdiHeadersProperty>
A builder for
CfnPartnership.X12OutboundEdiHeadersProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.controlNumbers
(IResolvable controlNumbers) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getControlNumbers()
controlNumbers
(CfnPartnership.X12ControlNumbersProperty controlNumbers) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getControlNumbers()
delimiters
(IResolvable delimiters) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getDelimiters()
delimiters
(CfnPartnership.X12DelimitersProperty delimiters) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getDelimiters()
functionalGroupHeaders
(IResolvable functionalGroupHeaders) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getFunctionalGroupHeaders()
functionalGroupHeaders
(CfnPartnership.X12FunctionalGroupHeadersProperty functionalGroupHeaders) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getFunctionalGroupHeaders()
gs05TimeFormat
(String gs05TimeFormat) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getGs05TimeFormat()
interchangeControlHeaders
(IResolvable interchangeControlHeaders) interchangeControlHeaders
(CfnPartnership.X12InterchangeControlHeadersProperty interchangeControlHeaders) validateEdi
(Boolean validateEdi) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getValidateEdi()
validateEdi
(IResolvable validateEdi) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getValidateEdi()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlNumbers
@Stability(Stable) public CfnPartnership.X12OutboundEdiHeadersProperty.Builder controlNumbers(IResolvable controlNumbers) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getControlNumbers()
- 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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder controlNumbers(CfnPartnership.X12ControlNumbersProperty controlNumbers) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getControlNumbers()
- 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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder delimiters(IResolvable delimiters) Sets the value ofCfnPartnership.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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder delimiters(CfnPartnership.X12DelimitersProperty delimiters) Sets the value ofCfnPartnership.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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder functionalGroupHeaders(IResolvable functionalGroupHeaders) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getFunctionalGroupHeaders()
- Parameters:
functionalGroupHeaders
- The functional group headers for the X12 object.- Returns:
this
-
functionalGroupHeaders
@Stability(Stable) public CfnPartnership.X12OutboundEdiHeadersProperty.Builder functionalGroupHeaders(CfnPartnership.X12FunctionalGroupHeadersProperty functionalGroupHeaders) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getFunctionalGroupHeaders()
- Parameters:
functionalGroupHeaders
- The functional group headers for the X12 object.- Returns:
this
-
gs05TimeFormat
@Stability(Stable) public CfnPartnership.X12OutboundEdiHeadersProperty.Builder gs05TimeFormat(String gs05TimeFormat) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getGs05TimeFormat()
- 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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder interchangeControlHeaders(IResolvable interchangeControlHeaders) - 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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder interchangeControlHeaders(CfnPartnership.X12InterchangeControlHeadersProperty interchangeControlHeaders) - 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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder validateEdi(Boolean validateEdi) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getValidateEdi()
- Parameters:
validateEdi
- Specifies whether or not to validate the EDI for this X12 object:TRUE
orFALSE
. 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 CfnPartnership.X12OutboundEdiHeadersProperty.Builder validateEdi(IResolvable validateEdi) Sets the value ofCfnPartnership.X12OutboundEdiHeadersProperty.getValidateEdi()
- Parameters:
validateEdi
- Specifies whether or not to validate the EDI for this X12 object:TRUE
orFALSE
. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPartnership.X12OutboundEdiHeadersProperty>
- Returns:
- a new instance of
CfnPartnership.X12OutboundEdiHeadersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-