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