Class AS2MdnSettings

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

public final class AS2MdnSettings extends Object
The AS2 agreement mdn settings.
  • Constructor Details

    • AS2MdnSettings

      public AS2MdnSettings()
      Creates an instance of AS2MdnSettings class.
  • Method Details

    • needMdn

      public boolean needMdn()
      Get the needMdn property: The value indicating whether to send or request a MDN.
      Returns:
      the needMdn value.
    • withNeedMdn

      public AS2MdnSettings withNeedMdn(boolean needMdn)
      Set the needMdn property: The value indicating whether to send or request a MDN.
      Parameters:
      needMdn - the needMdn value to set.
      Returns:
      the AS2MdnSettings object itself.
    • signMdn

      public boolean signMdn()
      Get the signMdn property: The value indicating whether the MDN needs to be signed or not.
      Returns:
      the signMdn value.
    • withSignMdn

      public AS2MdnSettings withSignMdn(boolean signMdn)
      Set the signMdn property: The value indicating whether the MDN needs to be signed or not.
      Parameters:
      signMdn - the signMdn value to set.
      Returns:
      the AS2MdnSettings object itself.
    • sendMdnAsynchronously

      public boolean sendMdnAsynchronously()
      Get the sendMdnAsynchronously property: The value indicating whether to send the asynchronous MDN.
      Returns:
      the sendMdnAsynchronously value.
    • withSendMdnAsynchronously

      public AS2MdnSettings withSendMdnAsynchronously(boolean sendMdnAsynchronously)
      Set the sendMdnAsynchronously property: The value indicating whether to send the asynchronous MDN.
      Parameters:
      sendMdnAsynchronously - the sendMdnAsynchronously value to set.
      Returns:
      the AS2MdnSettings object itself.
    • receiptDeliveryUrl

      public String receiptDeliveryUrl()
      Get the receiptDeliveryUrl property: The receipt delivery URL.
      Returns:
      the receiptDeliveryUrl value.
    • withReceiptDeliveryUrl

      public AS2MdnSettings withReceiptDeliveryUrl(String receiptDeliveryUrl)
      Set the receiptDeliveryUrl property: The receipt delivery URL.
      Parameters:
      receiptDeliveryUrl - the receiptDeliveryUrl value to set.
      Returns:
      the AS2MdnSettings object itself.
    • dispositionNotificationTo

      public String dispositionNotificationTo()
      Get the dispositionNotificationTo property: The disposition notification to header value.
      Returns:
      the dispositionNotificationTo value.
    • withDispositionNotificationTo

      public AS2MdnSettings withDispositionNotificationTo(String dispositionNotificationTo)
      Set the dispositionNotificationTo property: The disposition notification to header value.
      Parameters:
      dispositionNotificationTo - the dispositionNotificationTo value to set.
      Returns:
      the AS2MdnSettings object itself.
    • signOutboundMdnIfOptional

      public boolean signOutboundMdnIfOptional()
      Get the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.
      Returns:
      the signOutboundMdnIfOptional value.
    • withSignOutboundMdnIfOptional

      public AS2MdnSettings withSignOutboundMdnIfOptional(boolean signOutboundMdnIfOptional)
      Set the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.
      Parameters:
      signOutboundMdnIfOptional - the signOutboundMdnIfOptional value to set.
      Returns:
      the AS2MdnSettings object itself.
    • mdnText

      public String mdnText()
      Get the mdnText property: The MDN text.
      Returns:
      the mdnText value.
    • withMdnText

      public AS2MdnSettings withMdnText(String mdnText)
      Set the mdnText property: The MDN text.
      Parameters:
      mdnText - the mdnText value to set.
      Returns:
      the AS2MdnSettings object itself.
    • sendInboundMdnToMessageBox

      public boolean sendInboundMdnToMessageBox()
      Get the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.
      Returns:
      the sendInboundMdnToMessageBox value.
    • withSendInboundMdnToMessageBox

      public AS2MdnSettings withSendInboundMdnToMessageBox(boolean sendInboundMdnToMessageBox)
      Set the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.
      Parameters:
      sendInboundMdnToMessageBox - the sendInboundMdnToMessageBox value to set.
      Returns:
      the AS2MdnSettings object itself.
    • micHashingAlgorithm

      public HashingAlgorithm micHashingAlgorithm()
      Get the micHashingAlgorithm property: The signing or hashing algorithm.
      Returns:
      the micHashingAlgorithm value.
    • withMicHashingAlgorithm

      public AS2MdnSettings withMicHashingAlgorithm(HashingAlgorithm micHashingAlgorithm)
      Set the micHashingAlgorithm property: The signing or hashing algorithm.
      Parameters:
      micHashingAlgorithm - the micHashingAlgorithm value to set.
      Returns:
      the AS2MdnSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.