Class AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.transfer.events.AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps>
- Enclosing interface:
AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps
@Stability(Experimental)
public static final class AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps>
A builder for
AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagreementId(List<String> agreementId) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getAgreementId()Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getAs2From()as2MessageId(List<String> as2MessageId) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getAs2MessageId()Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getAs2To()build()Builds the configured instance.Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getBytes()Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getClientIp()disposition(List<String> disposition) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getDisposition()endTimestamp(List<String> endTimestamp) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getEndTimestamp()eventMetadata(AWSEventMetadataProps eventMetadata) failureCode(List<String> failureCode) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getFailureCode()failureMessage(List<String> failureMessage) mdnMessageId(List<String> mdnMessageId) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getMdnMessageId()mdnSubject(List<String> mdnSubject) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getMdnSubject()Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getMdnType()requesterFileName(List<String> requesterFileName) s3Attributes(AgreementEvents.AS2MDNSendFailed.S3Attributes s3Attributes) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getS3Attributes()Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getServerId()startTimestamp(List<String> startTimestamp) statusCode(List<String> statusCode) Sets the value ofAgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.getStatusCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agreementId
@Stability(Experimental) public AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder agreementId(List<String> agreementId) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder as2From(List<String> as2From) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder as2MessageId(List<String> as2MessageId) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder as2To(List<String> as2To) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder bytes(List<String> bytes) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder clientIp(List<String> clientIp) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder disposition(List<String> disposition) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder endTimestamp(List<String> endTimestamp) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
failureCode
@Stability(Experimental) public AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder failureCode(List<String> failureCode) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder failureMessage(List<String> failureMessage) - 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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder mdnMessageId(List<String> mdnMessageId) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder mdnSubject(List<String> mdnSubject) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder mdnType(List<String> mdnType) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder s3Attributes(AgreementEvents.AS2MDNSendFailed.S3Attributes s3Attributes) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder serverId(List<String> serverId) Sets the value ofAgreementEvents.AS2MDNSendFailed.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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder startTimestamp(List<String> startTimestamp) - 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 AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps.Builder statusCode(List<String> statusCode) Sets the value ofAgreementEvents.AS2MDNSendFailed.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<AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps>- Returns:
- a new instance of
AgreementEvents.AS2MDNSendFailed.AS2MDNSendFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-