AS2ErrorSettings Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. AS2ErrorSettings
- com.
Implements
public final class AS2ErrorSettings
implements JsonSerializable<AS2ErrorSettings>
The AS2 agreement error settings.
Constructor Summary
Constructor | Description |
---|---|
AS2ErrorSettings() |
Creates an instance of AS2Error |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
AS2Error |
fromJson(JsonReader jsonReader)
Reads an instance of AS2Error |
boolean |
resendIfMdnNotReceived()
Get the resend |
boolean |
suspendDuplicateMessage()
Get the suspend |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
AS2Error |
withResendIfMdnNotReceived(boolean resendIfMdnNotReceived)
Set the resend |
AS2Error |
withSuspendDuplicateMessage(boolean suspendDuplicateMessage)
Set the suspend |
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:
Returns:
Throws:
resendIfMdnNotReceived
public boolean resendIfMdnNotReceived()
Get the resendIfMdnNotReceived property: The value indicating whether to resend message If MDN is not received.
Returns:
suspendDuplicateMessage
public boolean suspendDuplicateMessage()
Get the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.
Returns:
toJson
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:
Returns:
withSuspendDuplicateMessage
public AS2ErrorSettings withSuspendDuplicateMessage(boolean suspendDuplicateMessage)
Set the suspendDuplicateMessage property: The value indicating whether to suspend duplicate message.
Parameters:
Returns:
Applies to
Azure SDK for Java