Class AS2MessageConnectionSettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2MessageConnectionSettings
The AS2 agreement message connection settings.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AS2MessageConnectionSettings class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.boolean
Get the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.boolean
Get the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.boolean
Get the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.void
validate()
Validates the instance.withIgnoreCertificateNameMismatch
(boolean ignoreCertificateNameMismatch) Set the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.withKeepHttpConnectionAlive
(boolean keepHttpConnectionAlive) Set the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.withSupportHttpStatusCodeContinue
(boolean supportHttpStatusCodeContinue) Set the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.withUnfoldHttpHeaders
(boolean unfoldHttpHeaders) Set the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.
-
Constructor Details
-
AS2MessageConnectionSettings
public AS2MessageConnectionSettings()Creates an instance of AS2MessageConnectionSettings class.
-
-
Method Details
-
ignoreCertificateNameMismatch
public boolean ignoreCertificateNameMismatch()Get the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.- Returns:
- the ignoreCertificateNameMismatch value.
-
withIgnoreCertificateNameMismatch
public AS2MessageConnectionSettings withIgnoreCertificateNameMismatch(boolean ignoreCertificateNameMismatch) Set the ignoreCertificateNameMismatch property: The value indicating whether to ignore mismatch in certificate name.- Parameters:
ignoreCertificateNameMismatch
- the ignoreCertificateNameMismatch value to set.- Returns:
- the AS2MessageConnectionSettings object itself.
-
supportHttpStatusCodeContinue
public boolean supportHttpStatusCodeContinue()Get the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.- Returns:
- the supportHttpStatusCodeContinue value.
-
withSupportHttpStatusCodeContinue
public AS2MessageConnectionSettings withSupportHttpStatusCodeContinue(boolean supportHttpStatusCodeContinue) Set the supportHttpStatusCodeContinue property: The value indicating whether to support HTTP status code 'CONTINUE'.- Parameters:
supportHttpStatusCodeContinue
- the supportHttpStatusCodeContinue value to set.- Returns:
- the AS2MessageConnectionSettings object itself.
-
keepHttpConnectionAlive
public boolean keepHttpConnectionAlive()Get the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.- Returns:
- the keepHttpConnectionAlive value.
-
withKeepHttpConnectionAlive
Set the keepHttpConnectionAlive property: The value indicating whether to keep the connection alive.- Parameters:
keepHttpConnectionAlive
- the keepHttpConnectionAlive value to set.- Returns:
- the AS2MessageConnectionSettings object itself.
-
unfoldHttpHeaders
public boolean unfoldHttpHeaders()Get the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.- Returns:
- the unfoldHttpHeaders value.
-
withUnfoldHttpHeaders
Set the unfoldHttpHeaders property: The value indicating whether to unfold the HTTP headers.- Parameters:
unfoldHttpHeaders
- the unfoldHttpHeaders value to set.- Returns:
- the AS2MessageConnectionSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-