Class AS2MdnSettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2MdnSettings
The AS2 agreement mdn settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dispositionNotificationTo property: The disposition notification to header value.mdnText()
Get the mdnText property: The MDN text.Get the micHashingAlgorithm property: The signing or hashing algorithm.boolean
needMdn()
Get the needMdn property: The value indicating whether to send or request a MDN.Get the receiptDeliveryUrl property: The receipt delivery URL.boolean
Get the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.boolean
Get the sendMdnAsynchronously property: The value indicating whether to send the asynchronous MDN.boolean
signMdn()
Get the signMdn property: The value indicating whether the MDN needs to be signed or not.boolean
Get the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.void
validate()
Validates the instance.withDispositionNotificationTo
(String dispositionNotificationTo) Set the dispositionNotificationTo property: The disposition notification to header value.withMdnText
(String mdnText) Set the mdnText property: The MDN text.withMicHashingAlgorithm
(HashingAlgorithm micHashingAlgorithm) Set the micHashingAlgorithm property: The signing or hashing algorithm.withNeedMdn
(boolean needMdn) Set the needMdn property: The value indicating whether to send or request a MDN.withReceiptDeliveryUrl
(String receiptDeliveryUrl) Set the receiptDeliveryUrl property: The receipt delivery URL.withSendInboundMdnToMessageBox
(boolean sendInboundMdnToMessageBox) Set the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.withSendMdnAsynchronously
(boolean sendMdnAsynchronously) Set the sendMdnAsynchronously property: The value indicating whether to send the asynchronous MDN.withSignMdn
(boolean signMdn) Set the signMdn property: The value indicating whether the MDN needs to be signed or not.withSignOutboundMdnIfOptional
(boolean signOutboundMdnIfOptional) Set the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.
-
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
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
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
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
Get the receiptDeliveryUrl property: The receipt delivery URL.- Returns:
- the receiptDeliveryUrl value.
-
withReceiptDeliveryUrl
Set the receiptDeliveryUrl property: The receipt delivery URL.- Parameters:
receiptDeliveryUrl
- the receiptDeliveryUrl value to set.- Returns:
- the AS2MdnSettings object itself.
-
dispositionNotificationTo
Get the dispositionNotificationTo property: The disposition notification to header value.- Returns:
- the dispositionNotificationTo value.
-
withDispositionNotificationTo
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
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
Get the mdnText property: The MDN text.- Returns:
- the mdnText value.
-
withMdnText
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
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
Get the micHashingAlgorithm property: The signing or hashing algorithm.- Returns:
- the micHashingAlgorithm value.
-
withMicHashingAlgorithm
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.
-