Class AS2ErrorSettings

java.lang.Object
com.azure.resourcemanager.logic.models.AS2ErrorSettings

public final class AS2ErrorSettings extends Object
The AS2 agreement error settings.
  • 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

      public AS2ErrorSettings withSuspendDuplicateMessage(boolean suspendDuplicateMessage)
      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

      public AS2ErrorSettings withResendIfMdnNotReceived(boolean resendIfMdnNotReceived)
      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.