Class AS2ErrorSettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2ErrorSettings
The AS2 agreement error settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.boolean
Get the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.void
validate()
Validates the instance.withResendIfMdnNotReceived
(boolean resendIfMdnNotReceived) Set the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.withSuspendDuplicateMessage
(boolean suspendDuplicateMessage) Set the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.
-
Constructor Details
-
AS2ErrorSettings
public AS2ErrorSettings()Creates an instance of AS2ErrorSettings class.
-
-
Method Details
-
suspendDuplicateMessage
public boolean suspendDuplicateMessage()Get the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.- Returns:
- the suspendDuplicateMessage value.
-
withSuspendDuplicateMessage
Set the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.- Parameters:
suspendDuplicateMessage
- the suspendDuplicateMessage value to set.- Returns:
- the AS2ErrorSettings object itself.
-
resendIfMdnNotReceived
public boolean resendIfMdnNotReceived()Get the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.- Returns:
- the resendIfMdnNotReceived value.
-
withResendIfMdnNotReceived
Set the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.- Parameters:
resendIfMdnNotReceived
- the resendIfMdnNotReceived value to set.- Returns:
- the AS2ErrorSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-