Class AS2ProtocolSettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2ProtocolSettings
The AS2 agreement protocol settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the acknowledgementConnectionSettings property: The acknowledgement connection settings.Get the envelopeSettings property: The envelope settings.Get the errorSettings property: The error settings.Get the mdnSettings property: The MDN settings.Get the messageConnectionSettings property: The message connection settings.Get the securitySettings property: The security settings.void
validate()
Validates the instance.Get the validationSettings property: The validation settings.withAcknowledgementConnectionSettings
(AS2AcknowledgementConnectionSettings acknowledgementConnectionSettings) Set the acknowledgementConnectionSettings property: The acknowledgement connection settings.withEnvelopeSettings
(AS2EnvelopeSettings envelopeSettings) Set the envelopeSettings property: The envelope settings.withErrorSettings
(AS2ErrorSettings errorSettings) Set the errorSettings property: The error settings.withMdnSettings
(AS2MdnSettings mdnSettings) Set the mdnSettings property: The MDN settings.withMessageConnectionSettings
(AS2MessageConnectionSettings messageConnectionSettings) Set the messageConnectionSettings property: The message connection settings.withSecuritySettings
(AS2SecuritySettings securitySettings) Set the securitySettings property: The security settings.withValidationSettings
(AS2ValidationSettings validationSettings) Set the validationSettings property: The validation settings.
-
Constructor Details
-
AS2ProtocolSettings
public AS2ProtocolSettings()Creates an instance of AS2ProtocolSettings class.
-
-
Method Details
-
messageConnectionSettings
Get the messageConnectionSettings property: The message connection settings.- Returns:
- the messageConnectionSettings value.
-
withMessageConnectionSettings
public AS2ProtocolSettings withMessageConnectionSettings(AS2MessageConnectionSettings messageConnectionSettings) Set the messageConnectionSettings property: The message connection settings.- Parameters:
messageConnectionSettings
- the messageConnectionSettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
acknowledgementConnectionSettings
Get the acknowledgementConnectionSettings property: The acknowledgement connection settings.- Returns:
- the acknowledgementConnectionSettings value.
-
withAcknowledgementConnectionSettings
public AS2ProtocolSettings withAcknowledgementConnectionSettings(AS2AcknowledgementConnectionSettings acknowledgementConnectionSettings) Set the acknowledgementConnectionSettings property: The acknowledgement connection settings.- Parameters:
acknowledgementConnectionSettings
- the acknowledgementConnectionSettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
mdnSettings
Get the mdnSettings property: The MDN settings.- Returns:
- the mdnSettings value.
-
withMdnSettings
Set the mdnSettings property: The MDN settings.- Parameters:
mdnSettings
- the mdnSettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
securitySettings
Get the securitySettings property: The security settings.- Returns:
- the securitySettings value.
-
withSecuritySettings
Set the securitySettings property: The security settings.- Parameters:
securitySettings
- the securitySettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
validationSettings
Get the validationSettings property: The validation settings.- Returns:
- the validationSettings value.
-
withValidationSettings
Set the validationSettings property: The validation settings.- Parameters:
validationSettings
- the validationSettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
envelopeSettings
Get the envelopeSettings property: The envelope settings.- Returns:
- the envelopeSettings value.
-
withEnvelopeSettings
Set the envelopeSettings property: The envelope settings.- Parameters:
envelopeSettings
- the envelopeSettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
errorSettings
Get the errorSettings property: The error settings.- Returns:
- the errorSettings value.
-
withErrorSettings
Set the errorSettings property: The error settings.- Parameters:
errorSettings
- the errorSettings value to set.- Returns:
- the AS2ProtocolSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-