Class AS2ValidationSettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2ValidationSettings
The AS2 agreement validation settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate revocation list on receive.boolean
Get the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate revocation list on send.boolean
Get the checkDuplicateMessage property: The value indicating whether to check for duplicate message.boolean
Get the compressMessage property: The value indicating whether the message has to be compressed.Get the encryptionAlgorithm property: The encryption algorithm.boolean
Get the encryptMessage property: The value indicating whether the message has to be encrypted.int
Get the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.boolean
Get the overrideMessageProperties property: The value indicating whether to override incoming message properties with those in agreement.Get the signingAlgorithm property: The signing algorithm.boolean
Get the signMessage property: The value indicating whether the message has to be signed.void
validate()
Validates the instance.withCheckCertificateRevocationListOnReceive
(boolean checkCertificateRevocationListOnReceive) Set the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate revocation list on receive.withCheckCertificateRevocationListOnSend
(boolean checkCertificateRevocationListOnSend) Set the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate revocation list on send.withCheckDuplicateMessage
(boolean checkDuplicateMessage) Set the checkDuplicateMessage property: The value indicating whether to check for duplicate message.withCompressMessage
(boolean compressMessage) Set the compressMessage property: The value indicating whether the message has to be compressed.withEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Set the encryptionAlgorithm property: The encryption algorithm.withEncryptMessage
(boolean encryptMessage) Set the encryptMessage property: The value indicating whether the message has to be encrypted.withInterchangeDuplicatesValidityDays
(int interchangeDuplicatesValidityDays) Set the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.withOverrideMessageProperties
(boolean overrideMessageProperties) Set the overrideMessageProperties property: The value indicating whether to override incoming message properties with those in agreement.withSigningAlgorithm
(SigningAlgorithm signingAlgorithm) Set the signingAlgorithm property: The signing algorithm.withSignMessage
(boolean signMessage) Set the signMessage property: The value indicating whether the message has to be signed.
-
Constructor Details
-
AS2ValidationSettings
public AS2ValidationSettings()Creates an instance of AS2ValidationSettings class.
-
-
Method Details
-
overrideMessageProperties
public boolean overrideMessageProperties()Get the overrideMessageProperties property: The value indicating whether to override incoming message properties with those in agreement.- Returns:
- the overrideMessageProperties value.
-
withOverrideMessageProperties
Set the overrideMessageProperties property: The value indicating whether to override incoming message properties with those in agreement.- Parameters:
overrideMessageProperties
- the overrideMessageProperties value to set.- Returns:
- the AS2ValidationSettings object itself.
-
encryptMessage
public boolean encryptMessage()Get the encryptMessage property: The value indicating whether the message has to be encrypted.- Returns:
- the encryptMessage value.
-
withEncryptMessage
Set the encryptMessage property: The value indicating whether the message has to be encrypted.- Parameters:
encryptMessage
- the encryptMessage value to set.- Returns:
- the AS2ValidationSettings object itself.
-
signMessage
public boolean signMessage()Get the signMessage property: The value indicating whether the message has to be signed.- Returns:
- the signMessage value.
-
withSignMessage
Set the signMessage property: The value indicating whether the message has to be signed.- Parameters:
signMessage
- the signMessage value to set.- Returns:
- the AS2ValidationSettings object itself.
-
compressMessage
public boolean compressMessage()Get the compressMessage property: The value indicating whether the message has to be compressed.- Returns:
- the compressMessage value.
-
withCompressMessage
Set the compressMessage property: The value indicating whether the message has to be compressed.- Parameters:
compressMessage
- the compressMessage value to set.- Returns:
- the AS2ValidationSettings object itself.
-
checkDuplicateMessage
public boolean checkDuplicateMessage()Get the checkDuplicateMessage property: The value indicating whether to check for duplicate message.- Returns:
- the checkDuplicateMessage value.
-
withCheckDuplicateMessage
Set the checkDuplicateMessage property: The value indicating whether to check for duplicate message.- Parameters:
checkDuplicateMessage
- the checkDuplicateMessage value to set.- Returns:
- the AS2ValidationSettings object itself.
-
interchangeDuplicatesValidityDays
public int interchangeDuplicatesValidityDays()Get the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.- Returns:
- the interchangeDuplicatesValidityDays value.
-
withInterchangeDuplicatesValidityDays
public AS2ValidationSettings withInterchangeDuplicatesValidityDays(int interchangeDuplicatesValidityDays) Set the interchangeDuplicatesValidityDays property: The number of days to look back for duplicate interchange.- Parameters:
interchangeDuplicatesValidityDays
- the interchangeDuplicatesValidityDays value to set.- Returns:
- the AS2ValidationSettings object itself.
-
checkCertificateRevocationListOnSend
public boolean checkCertificateRevocationListOnSend()Get the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate revocation list on send.- Returns:
- the checkCertificateRevocationListOnSend value.
-
withCheckCertificateRevocationListOnSend
public AS2ValidationSettings withCheckCertificateRevocationListOnSend(boolean checkCertificateRevocationListOnSend) Set the checkCertificateRevocationListOnSend property: The value indicating whether to check for certificate revocation list on send.- Parameters:
checkCertificateRevocationListOnSend
- the checkCertificateRevocationListOnSend value to set.- Returns:
- the AS2ValidationSettings object itself.
-
checkCertificateRevocationListOnReceive
public boolean checkCertificateRevocationListOnReceive()Get the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate revocation list on receive.- Returns:
- the checkCertificateRevocationListOnReceive value.
-
withCheckCertificateRevocationListOnReceive
public AS2ValidationSettings withCheckCertificateRevocationListOnReceive(boolean checkCertificateRevocationListOnReceive) Set the checkCertificateRevocationListOnReceive property: The value indicating whether to check for certificate revocation list on receive.- Parameters:
checkCertificateRevocationListOnReceive
- the checkCertificateRevocationListOnReceive value to set.- Returns:
- the AS2ValidationSettings object itself.
-
encryptionAlgorithm
Get the encryptionAlgorithm property: The encryption algorithm.- Returns:
- the encryptionAlgorithm value.
-
withEncryptionAlgorithm
Set the encryptionAlgorithm property: The encryption algorithm.- Parameters:
encryptionAlgorithm
- the encryptionAlgorithm value to set.- Returns:
- the AS2ValidationSettings object itself.
-
signingAlgorithm
Get the signingAlgorithm property: The signing algorithm.- Returns:
- the signingAlgorithm value.
-
withSigningAlgorithm
Set the signingAlgorithm property: The signing algorithm.- Parameters:
signingAlgorithm
- the signingAlgorithm value to set.- Returns:
- the AS2ValidationSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-