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