AS2MdnSettings Class

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

public final class AS2MdnSettings

The AS2 agreement mdn settings.

Constructor Summary

Constructor Description
AS2MdnSettings()

Creates an instance of AS2MdnSettings class.

Method Summary

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.

Methods inherited from java.lang.Object

Constructor Details

AS2MdnSettings

public AS2MdnSettings()

Creates an instance of AS2MdnSettings class.

Method Details

dispositionNotificationTo

public String dispositionNotificationTo()

Get the dispositionNotificationTo property: The disposition notification to header value.

Returns:

the dispositionNotificationTo value.

mdnText

public String mdnText()

Get the mdnText property: The MDN text.

Returns:

the mdnText value.

micHashingAlgorithm

public HashingAlgorithm micHashingAlgorithm()

Get the micHashingAlgorithm property: The signing or hashing algorithm.

Returns:

the micHashingAlgorithm value.

needMdn

public boolean needMdn()

Get the needMdn property: The value indicating whether to send or request a MDN.

Returns:

the needMdn value.

receiptDeliveryUrl

public String receiptDeliveryUrl()

Get the receiptDeliveryUrl property: The receipt delivery URL.

Returns:

the receiptDeliveryUrl value.

sendInboundMdnToMessageBox

public boolean sendInboundMdnToMessageBox()

Get the sendInboundMdnToMessageBox property: The value indicating whether to send inbound MDN to message box.

Returns:

the sendInboundMdnToMessageBox value.

sendMdnAsynchronously

public boolean sendMdnAsynchronously()

Get the sendMdnAsynchronously property: The value indicating whether to send the asynchronous MDN.

Returns:

the sendMdnAsynchronously value.

signMdn

public boolean signMdn()

Get the signMdn property: The value indicating whether the MDN needs to be signed or not.

Returns:

the signMdn value.

signOutboundMdnIfOptional

public boolean signOutboundMdnIfOptional()

Get the signOutboundMdnIfOptional property: The value indicating whether to sign the outbound MDN if optional.

Returns:

the signOutboundMdnIfOptional value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Applies to