AS2ErrorSettings Class

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

Implements

public final class AS2ErrorSettings
implements JsonSerializable<AS2ErrorSettings>

The AS2 agreement error settings.

Constructor Summary

Constructor Description
AS2ErrorSettings()

Creates an instance of AS2ErrorSettings class.

Method Summary

Modifier and Type Method and Description
static AS2ErrorSettings fromJson(JsonReader jsonReader)

Reads an instance of AS2ErrorSettings from the JsonReader.

boolean resendIfMdnNotReceived()

Get the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.

boolean suspendDuplicateMessage()

Get the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AS2ErrorSettings withResendIfMdnNotReceived(boolean resendIfMdnNotReceived)

Set the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.

AS2ErrorSettings withSuspendDuplicateMessage(boolean suspendDuplicateMessage)

Set the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.

Methods inherited from java.lang.Object

Constructor Details

AS2ErrorSettings

public AS2ErrorSettings()

Creates an instance of AS2ErrorSettings class.

Method Details

fromJson

public static AS2ErrorSettings fromJson(JsonReader jsonReader)

Reads an instance of AS2ErrorSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AS2ErrorSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

resendIfMdnNotReceived

public boolean resendIfMdnNotReceived()

Get the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.

Returns:

the resendIfMdnNotReceived value.

suspendDuplicateMessage

public boolean suspendDuplicateMessage()

Get the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.

Returns:

the suspendDuplicateMessage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to