Class AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AS2PayloadSendFailed.AS2PayloadSendFailedProps>
- Enclosing interface:
AS2PayloadSendFailed.AS2PayloadSendFailedProps
@Stability(Experimental)
public static final class AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<AS2PayloadSendFailed.AS2PayloadSendFailedProps>
A builder for
AS2PayloadSendFailed.AS2PayloadSendFailedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getAs2From()as2MessageId(List<String> as2MessageId) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getAs2MessageId()Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getAs2To()build()Builds the configured instance.Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getBytes()connectorId(List<String> connectorId) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getConnectorId()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getEventMetadata()failureCode(List<String> failureCode) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getFailureCode()failureMessage(List<String> failureMessage) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getFailureMessage()messageSubject(List<String> messageSubject) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getMessageSubject()requesterFileName(List<String> requesterFileName) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getRequesterFileName()s3Attributes(AS2PayloadSendFailed.S3Attributes s3Attributes) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getS3Attributes()statusCode(List<String> statusCode) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getStatusCode()transferId(List<String> transferId) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getTransferId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
as2From
@Stability(Experimental) public AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder as2From(List<String> as2From) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder as2MessageId(List<String> as2MessageId) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder as2To(List<String> as2To) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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
-
bytes
@Stability(Experimental) public AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder bytes(List<String> bytes) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getBytes()- 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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder connectorId(List<String> connectorId) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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
-
eventMetadata
@Stability(Experimental) public AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder failureCode(List<String> failureCode) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder failureMessage(List<String> failureMessage) Sets the value ofAS2PayloadSendFailed.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder messageSubject(List<String> messageSubject) Sets the value ofAS2PayloadSendFailed.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder requesterFileName(List<String> requesterFileName) Sets the value ofAS2PayloadSendFailed.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder s3Attributes(AS2PayloadSendFailed.S3Attributes s3Attributes) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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
-
statusCode
@Stability(Experimental) public AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder statusCode(List<String> statusCode) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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 AS2PayloadSendFailed.AS2PayloadSendFailedProps.Builder transferId(List<String> transferId) Sets the value ofAS2PayloadSendFailed.AS2PayloadSendFailedProps.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<AS2PayloadSendFailed.AS2PayloadSendFailedProps>- Returns:
- a new instance of
AS2PayloadSendFailed.AS2PayloadSendFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-