Class AS2MDNSendFailed.AS2MDNSendFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AS2MDNSendFailed.AS2MDNSendFailedProps>
- Enclosing interface:
AS2MDNSendFailed.AS2MDNSendFailedProps
@Stability(Experimental)
public static final class AS2MDNSendFailed.AS2MDNSendFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<AS2MDNSendFailed.AS2MDNSendFailedProps>
A builder for
AS2MDNSendFailed.AS2MDNSendFailedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagreementId(List<String> agreementId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getAgreementId()Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getAs2From()as2MessageId(List<String> as2MessageId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getAs2MessageId()Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getAs2To()build()Builds the configured instance.Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getBytes()Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getClientIp()disposition(List<String> disposition) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getDisposition()endTimestamp(List<String> endTimestamp) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getEndTimestamp()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getEventMetadata()failureCode(List<String> failureCode) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getFailureCode()failureMessage(List<String> failureMessage) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getFailureMessage()mdnMessageId(List<String> mdnMessageId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getMdnMessageId()mdnSubject(List<String> mdnSubject) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getMdnSubject()Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getMdnType()requesterFileName(List<String> requesterFileName) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getRequesterFileName()s3Attributes(AS2MDNSendFailed.S3Attributes s3Attributes) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getS3Attributes()Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getServerId()startTimestamp(List<String> startTimestamp) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getStartTimestamp()statusCode(List<String> statusCode) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getStatusCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agreementId
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder agreementId(List<String> agreementId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getAgreementId()- Parameters:
agreementId- agreement-id property. Specify an array of string values to match this event if the actual value of agreement-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
as2From
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder as2From(List<String> as2From) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder as2MessageId(List<String> as2MessageId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder as2To(List<String> as2To) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder bytes(List<String> bytes) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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
-
clientIp
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder clientIp(List<String> clientIp) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getClientIp()- Parameters:
clientIp- client-ip property. Specify an array of string values to match this event if the actual value of client-ip is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
disposition
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder disposition(List<String> disposition) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getDisposition()- Parameters:
disposition- disposition property. Specify an array of string values to match this event if the actual value of disposition 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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder endTimestamp(List<String> endTimestamp) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder failureCode(List<String> failureCode) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder failureMessage(List<String> failureMessage) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder mdnMessageId(List<String> mdnMessageId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder mdnSubject(List<String> mdnSubject) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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
-
mdnType
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder mdnType(List<String> mdnType) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getMdnType()- Parameters:
mdnType- mdn-type property. Specify an array of string values to match this event if the actual value of mdn-type 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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder requesterFileName(List<String> requesterFileName) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder s3Attributes(AS2MDNSendFailed.S3Attributes s3Attributes) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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
-
serverId
@Stability(Experimental) public AS2MDNSendFailed.AS2MDNSendFailedProps.Builder serverId(List<String> serverId) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.getServerId()- Parameters:
serverId- server-id property. Specify an array of string values to match this event if the actual value of server-id 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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder startTimestamp(List<String> startTimestamp) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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 AS2MDNSendFailed.AS2MDNSendFailedProps.Builder statusCode(List<String> statusCode) Sets the value ofAS2MDNSendFailed.AS2MDNSendFailedProps.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AS2MDNSendFailed.AS2MDNSendFailedProps>- Returns:
- a new instance of
AS2MDNSendFailed.AS2MDNSendFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-