Class ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps>
- Enclosing interface:
ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps
@Stability(Experimental)
public static final class ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionas2MessageId(List<String> as2MessageId) build()Builds the configured instance.connectorId(List<String> connectorId) eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) failureMessage(List<String> failureMessage) messageSubject(List<String> messageSubject) requesterFileName(List<String> requesterFileName) statusCode(List<String> statusCode) transferId(List<String> transferId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
as2From
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder as2From(List<String> as2From) - Parameters:
as2From- as2-from property. Specify an array of string values to match this event if the actual value of as2-from is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
as2MessageId
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder as2MessageId(List<String> as2MessageId) - Parameters:
as2MessageId- as2-message-id property. Specify an array of string values to match this event if the actual value of as2-message-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
as2To
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder as2To(List<String> as2To) - Parameters:
as2To- as2-to property. Specify an array of string values to match this event if the actual value of as2-to is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
bytes
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder bytes(List<String> bytes) - Parameters:
bytes- bytes property. Specify an array of string values to match this event if the actual value of bytes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
connectorId
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder connectorId(List<String> connectorId) - Parameters:
connectorId- connector-id property. Specify an array of string values to match this event if the actual value of connector-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder failureCode(List<String> failureCode) - Parameters:
failureCode- failure-code property. Specify an array of string values to match this event if the actual value of failure-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
failureMessage
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder failureMessage(List<String> failureMessage) Sets the value ofConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.getFailureMessage()- Parameters:
failureMessage- failure-message property. Specify an array of string values to match this event if the actual value of failure-message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
messageSubject
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder messageSubject(List<String> messageSubject) Sets the value ofConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.getMessageSubject()- Parameters:
messageSubject- message-subject property. Specify an array of string values to match this event if the actual value of message-subject is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requesterFileName
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder requesterFileName(List<String> requesterFileName) Sets the value ofConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.getRequesterFileName()- Parameters:
requesterFileName- requester-file-name property. Specify an array of string values to match this event if the actual value of requester-file-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
s3Attributes
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder s3Attributes(ConnectorEvents.AS2PayloadSendFailed.S3Attributes s3Attributes) - Parameters:
s3Attributes- s3-attributes property. Specify an array of string values to match this event if the actual value of s3-attributes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
statusCode
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder statusCode(List<String> statusCode) - Parameters:
statusCode- status-code property. Specify an array of string values to match this event if the actual value of status-code is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
transferId
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder transferId(List<String> transferId) - Parameters:
transferId- transfer-id property. Specify an array of string values to match this event if the actual value of transfer-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps>- Returns:
- a new instance of
ConnectorEvents.AS2PayloadSendFailed.AS2PayloadSendFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-