Class ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps>
- Enclosing interface:
ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps
@Stability(Experimental)
public static final class ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder
extends Object
implements software.amazon.jsii.Builder<ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionas2MessageId(List<String> as2MessageId) build()Builds the configured instance.connectorId(List<String> connectorId) endTimestamp(List<String> endTimestamp) eventMetadata(AWSEventMetadataProps eventMetadata) mdnSubject(List<String> mdnSubject) messageSubject(List<String> messageSubject) requesterFileName(List<String> requesterFileName) startTimestamp(List<String> startTimestamp) statusCode(List<String> statusCode) transferId(List<String> transferId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
as2From
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder as2MessageId(List<String> as2MessageId) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder connectorId(List<String> connectorId) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder endTimestamp(List<String> endTimestamp) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
mdnSubject
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder mdnSubject(List<String> mdnSubject) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder messageSubject(List<String> messageSubject) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder requesterFileName(List<String> requesterFileName) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder s3Attributes(ConnectorEvents.AS2PayloadSendCompleted.S3Attributes s3Attributes) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder startTimestamp(List<String> startTimestamp) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder statusCode(List<String> statusCode) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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 ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.Builder transferId(List<String> transferId) Sets the value ofConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps.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
@Stability(Experimental) public ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps>- Returns:
- a new instance of
ConnectorEvents.AS2PayloadSendCompleted.AS2PayloadSendCompletedProps - Throws:
NullPointerException- if any required attribute was not provided
-