Class CfnPartnership.X12InterchangeControlHeadersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnPartnership.X12InterchangeControlHeadersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPartnership.X12InterchangeControlHeadersProperty>
- Enclosing interface:
CfnPartnership.X12InterchangeControlHeadersProperty
@Stability(Stable)
public static final class CfnPartnership.X12InterchangeControlHeadersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPartnership.X12InterchangeControlHeadersProperty>
A builder for
CfnPartnership.X12InterchangeControlHeadersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledgmentRequestedCode(String acknowledgmentRequestedCode) build()Builds the configured instance.receiverId(String receiverId) Sets the value ofCfnPartnership.X12InterchangeControlHeadersProperty.getReceiverId()receiverIdQualifier(String receiverIdQualifier) repetitionSeparator(String repetitionSeparator) Sets the value ofCfnPartnership.X12InterchangeControlHeadersProperty.getSenderId()senderIdQualifier(String senderIdQualifier) usageIndicatorCode(String usageIndicatorCode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledgmentRequestedCode
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder acknowledgmentRequestedCode(String acknowledgmentRequestedCode) Sets the value ofCfnPartnership.X12InterchangeControlHeadersProperty.getAcknowledgmentRequestedCode()- Parameters:
acknowledgmentRequestedCode- Located at position ISA-14 in the header. The value "1" indicates that the sender is requesting an interchange acknowledgment at receipt of the interchange. The value "0" is used otherwise.- Returns:
this
-
receiverId
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder receiverId(String receiverId) Sets the value ofCfnPartnership.X12InterchangeControlHeadersProperty.getReceiverId()- Parameters:
receiverId- Located at position ISA-08 in the header. This value (along with thereceiverIdQualifier) identifies the intended recipient of the interchange.- Returns:
this
-
receiverIdQualifier
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder receiverIdQualifier(String receiverIdQualifier) - Parameters:
receiverIdQualifier- Located at position ISA-07 in the header. Qualifier for the receiver ID. Together, the ID and qualifier uniquely identify the receiving trading partner.- Returns:
this
-
repetitionSeparator
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder repetitionSeparator(String repetitionSeparator) - Parameters:
repetitionSeparator- Located at position ISA-11 in the header. This string makes it easier when you need to group similar adjacent element values together without using extra segments.This parameter is only honored for version greater than 401 (
VERSION_4010and higher).For versions less than 401, this field is called StandardsId , in which case our service sets the value to
U.- Returns:
this
-
senderId
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder senderId(String senderId) Sets the value ofCfnPartnership.X12InterchangeControlHeadersProperty.getSenderId()- Parameters:
senderId- Located at position ISA-06 in the header. This value (along with thesenderIdQualifier) identifies the sender of the interchange.- Returns:
this
-
senderIdQualifier
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder senderIdQualifier(String senderIdQualifier) - Parameters:
senderIdQualifier- Located at position ISA-05 in the header. Qualifier for the sender ID. Together, the ID and qualifier uniquely identify the sending trading partner.- Returns:
this
-
usageIndicatorCode
@Stability(Stable) public CfnPartnership.X12InterchangeControlHeadersProperty.Builder usageIndicatorCode(String usageIndicatorCode) - Parameters:
usageIndicatorCode- Located at position ISA-15 in the header. Specifies how this interchange is being used:.Tindicates this interchange is for testing.Pindicates this interchange is for production.Iindicates this interchange is informational.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPartnership.X12InterchangeControlHeadersProperty>- Returns:
- a new instance of
CfnPartnership.X12InterchangeControlHeadersProperty - Throws:
NullPointerException- if any required attribute was not provided
-