Class AS2ValidationSettings

java.lang.Object
com.azure.resourcemanager.logic.models.AS2ValidationSettings

public final class AS2ValidationSettings extends Object
The AS2 agreement validation settings.
  • 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

      public AS2ValidationSettings withOverrideMessageProperties(boolean overrideMessageProperties)
      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

      public AS2ValidationSettings withEncryptMessage(boolean encryptMessage)
      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

      public AS2ValidationSettings withSignMessage(boolean signMessage)
      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

      public AS2ValidationSettings withCompressMessage(boolean compressMessage)
      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

      public AS2ValidationSettings withCheckDuplicateMessage(boolean checkDuplicateMessage)
      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

      public EncryptionAlgorithm encryptionAlgorithm()
      Get the encryptionAlgorithm property: The encryption algorithm.
      Returns:
      the encryptionAlgorithm value.
    • withEncryptionAlgorithm

      public AS2ValidationSettings withEncryptionAlgorithm(EncryptionAlgorithm encryptionAlgorithm)
      Set the encryptionAlgorithm property: The encryption algorithm.
      Parameters:
      encryptionAlgorithm - the encryptionAlgorithm value to set.
      Returns:
      the AS2ValidationSettings object itself.
    • signingAlgorithm

      public SigningAlgorithm signingAlgorithm()
      Get the signingAlgorithm property: The signing algorithm.
      Returns:
      the signingAlgorithm value.
    • withSigningAlgorithm

      public AS2ValidationSettings withSigningAlgorithm(SigningAlgorithm signingAlgorithm)
      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.