Class AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AS2MDNReceiveFailed.AS2MDNReceiveFailedProps>
- Enclosing interface:
AS2MDNReceiveFailed.AS2MDNReceiveFailedProps
@Stability(Experimental)
public static final class AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<AS2MDNReceiveFailed.AS2MDNReceiveFailedProps>
A builder for
AS2MDNReceiveFailed.AS2MDNReceiveFailedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getAs2From()as2MessageId(List<String> as2MessageId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getAs2MessageId()Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getAs2To()build()Builds the configured instance.connectorId(List<String> connectorId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getConnectorId()endTimestamp(List<String> endTimestamp) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getEndTimestamp()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getEventMetadata()failureCode(List<String> failureCode) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getFailureCode()failureMessage(List<String> failureMessage) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getFailureMessage()mdnMessageId(List<String> mdnMessageId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getMdnMessageId()mdnSubject(List<String> mdnSubject) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getMdnSubject()messageSubject(List<String> messageSubject) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getMessageSubject()s3Attributes(AS2MDNReceiveFailed.S3Attributes s3Attributes) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getS3Attributes()startTimestamp(List<String> startTimestamp) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getStartTimestamp()statusCode(List<String> statusCode) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getStatusCode()transferId(List<String> transferId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getTransferId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
as2From
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder as2From(List<String> as2From) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getAs2From()- 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder as2MessageId(List<String> as2MessageId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getAs2MessageId()- 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder as2To(List<String> as2To) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getAs2To()- 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
-
connectorId
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder connectorId(List<String> connectorId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getConnectorId()- 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
-
endTimestamp
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder endTimestamp(List<String> endTimestamp) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getEndTimestamp()- Parameters:
endTimestamp- end-timestamp property. Specify an array of string values to match this event if the actual value of end-timestamp 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder failureCode(List<String> failureCode) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getFailureCode()- 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder failureMessage(List<String> failureMessage) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.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
-
mdnMessageId
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder mdnMessageId(List<String> mdnMessageId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getMdnMessageId()- Parameters:
mdnMessageId- mdn-message-id property. Specify an array of string values to match this event if the actual value of mdn-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
-
mdnSubject
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder mdnSubject(List<String> mdnSubject) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getMdnSubject()- Parameters:
mdnSubject- mdn-subject property. Specify an array of string values to match this event if the actual value of mdn-subject 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder messageSubject(List<String> messageSubject) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.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
-
s3Attributes
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder s3Attributes(AS2MDNReceiveFailed.S3Attributes s3Attributes) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getS3Attributes()- 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
-
startTimestamp
@Stability(Experimental) public AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder startTimestamp(List<String> startTimestamp) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getStartTimestamp()- Parameters:
startTimestamp- start-timestamp property. Specify an array of string values to match this event if the actual value of start-timestamp 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder statusCode(List<String> statusCode) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getStatusCode()- 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 AS2MDNReceiveFailed.AS2MDNReceiveFailedProps.Builder transferId(List<String> transferId) Sets the value ofAS2MDNReceiveFailed.AS2MDNReceiveFailedProps.getTransferId()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AS2MDNReceiveFailed.AS2MDNReceiveFailedProps>- Returns:
- a new instance of
AS2MDNReceiveFailed.AS2MDNReceiveFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-