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