Interface CfnPartnershipProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPartnershipProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:31.877Z")
@Stability(Stable)
public interface CfnPartnershipProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPartnership.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.b2bi.*;
CfnPartnershipProps cfnPartnershipProps = CfnPartnershipProps.builder()
.capabilities(List.of("capabilities"))
.email("email")
.name("name")
.profileId("profileId")
// the properties below are optional
.capabilityOptions(CapabilityOptionsProperty.builder()
.inboundEdi(InboundEdiOptionsProperty.builder()
.x12(X12InboundEdiOptionsProperty.builder()
.acknowledgmentOptions(X12AcknowledgmentOptionsProperty.builder()
.functionalAcknowledgment("functionalAcknowledgment")
.technicalAcknowledgment("technicalAcknowledgment")
.build())
.build())
.build())
.outboundEdi(OutboundEdiOptionsProperty.builder()
.x12(X12EnvelopeProperty.builder()
.common(X12OutboundEdiHeadersProperty.builder()
.controlNumbers(X12ControlNumbersProperty.builder()
.startingFunctionalGroupControlNumber(123)
.startingInterchangeControlNumber(123)
.startingTransactionSetControlNumber(123)
.build())
.delimiters(X12DelimitersProperty.builder()
.componentSeparator("componentSeparator")
.dataElementSeparator("dataElementSeparator")
.segmentTerminator("segmentTerminator")
.build())
.functionalGroupHeaders(X12FunctionalGroupHeadersProperty.builder()
.applicationReceiverCode("applicationReceiverCode")
.applicationSenderCode("applicationSenderCode")
.responsibleAgencyCode("responsibleAgencyCode")
.build())
.gs05TimeFormat("gs05TimeFormat")
.interchangeControlHeaders(X12InterchangeControlHeadersProperty.builder()
.acknowledgmentRequestedCode("acknowledgmentRequestedCode")
.receiverId("receiverId")
.receiverIdQualifier("receiverIdQualifier")
.repetitionSeparator("repetitionSeparator")
.senderId("senderId")
.senderIdQualifier("senderIdQualifier")
.usageIndicatorCode("usageIndicatorCode")
.build())
.validateEdi(false)
.build())
.wrapOptions(WrapOptionsProperty.builder()
.lineLength(123)
.lineTerminator("lineTerminator")
.wrapBy("wrapBy")
.build())
.build())
.build())
.build())
.phone("phone")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPartnershipPropsstatic final classAn implementation forCfnPartnershipProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPartnershipProps.Builderbuilder()Returns one or more capabilities associated with this partnership.default ObjectContains the details for an Outbound EDI capability.getEmail()Specifies the email address associated with this trading partner.getName()Returns the name of the partnership.default StringgetPhone()Specifies the phone number associated with the partnership.Returns the unique, system-generated identifier for the profile connected to this partnership.getTags()A key-value pair for a specific partnership.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapabilities
Returns one or more capabilities associated with this partnership.- See Also:
-
getEmail
Specifies the email address associated with this trading partner.- See Also:
-
getName
Returns the name of the partnership.- See Also:
-
getProfileId
Returns the unique, system-generated identifier for the profile connected to this partnership.- See Also:
-
getCapabilityOptions
Contains the details for an Outbound EDI capability.Returns union: either
IResolvableorCfnPartnership.CapabilityOptionsProperty- See Also:
-
getPhone
Specifies the phone number associated with the partnership.- See Also:
-
getTags
A key-value pair for a specific partnership.Tags are metadata that you can use to search for and group capabilities for various purposes.
- See Also:
-
builder
- Returns:
- a
CfnPartnershipProps.BuilderofCfnPartnershipProps
-