public final class AS2MdnSettings extends Object
Constructor and Description |
---|
AS2MdnSettings() |
Modifier and Type | Method and Description |
---|---|
String |
dispositionNotificationTo()
Get the dispositionNotificationTo property: The disposition notification to header value.
|
String |
mdnText()
Get the mdnText property: The MDN text.
|
HashingAlgorithm |
micHashingAlgorithm()
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.
|
String |
receiptDeliveryUrl()
Get the receiptDeliveryUrl property: The receipt delivery URL.
|
boolean |
sendInboundMdnToMessageBox()
Get the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.
|
boolean |
sendMdnAsynchronously()
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 |
signOutboundMdnIfOptional()
Get the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.
|
void |
validate()
Validates the instance.
|
AS2MdnSettings |
withDispositionNotificationTo(String dispositionNotificationTo)
Set the dispositionNotificationTo property: The disposition notification to header value.
|
AS2MdnSettings |
withMdnText(String mdnText)
Set the mdnText property: The MDN text.
|
AS2MdnSettings |
withMicHashingAlgorithm(HashingAlgorithm micHashingAlgorithm)
Set the micHashingAlgorithm property: The signing or hashing algorithm.
|
AS2MdnSettings |
withNeedMdn(boolean needMdn)
Set the needMdn property: The value indicating whether to send or request a MDN.
|
AS2MdnSettings |
withReceiptDeliveryUrl(String receiptDeliveryUrl)
Set the receiptDeliveryUrl property: The receipt delivery URL.
|
AS2MdnSettings |
withSendInboundMdnToMessageBox(boolean sendInboundMdnToMessageBox)
Set the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.
|
AS2MdnSettings |
withSendMdnAsynchronously(boolean sendMdnAsynchronously)
Set the sendMdnAsynchronously property: The value indicating whether to send the asynchronous MDN.
|
AS2MdnSettings |
withSignMdn(boolean signMdn)
Set the signMdn property: The value indicating whether the MDN needs to be signed or not.
|
AS2MdnSettings |
withSignOutboundMdnIfOptional(boolean signOutboundMdnIfOptional)
Set the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.
|
public boolean needMdn()
public AS2MdnSettings withNeedMdn(boolean needMdn)
needMdn
- the needMdn value to set.public boolean signMdn()
public AS2MdnSettings withSignMdn(boolean signMdn)
signMdn
- the signMdn value to set.public boolean sendMdnAsynchronously()
public AS2MdnSettings withSendMdnAsynchronously(boolean sendMdnAsynchronously)
sendMdnAsynchronously
- the sendMdnAsynchronously value to set.public String receiptDeliveryUrl()
public AS2MdnSettings withReceiptDeliveryUrl(String receiptDeliveryUrl)
receiptDeliveryUrl
- the receiptDeliveryUrl value to set.public String dispositionNotificationTo()
public AS2MdnSettings withDispositionNotificationTo(String dispositionNotificationTo)
dispositionNotificationTo
- the dispositionNotificationTo value to set.public boolean signOutboundMdnIfOptional()
public AS2MdnSettings withSignOutboundMdnIfOptional(boolean signOutboundMdnIfOptional)
signOutboundMdnIfOptional
- the signOutboundMdnIfOptional value to set.public String mdnText()
public AS2MdnSettings withMdnText(String mdnText)
mdnText
- the mdnText value to set.public boolean sendInboundMdnToMessageBox()
public AS2MdnSettings withSendInboundMdnToMessageBox(boolean sendInboundMdnToMessageBox)
sendInboundMdnToMessageBox
- the sendInboundMdnToMessageBox value to set.public HashingAlgorithm micHashingAlgorithm()
public AS2MdnSettings withMicHashingAlgorithm(HashingAlgorithm micHashingAlgorithm)
micHashingAlgorithm
- the micHashingAlgorithm value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.