Class AS2SecuritySettings

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

public final class AS2SecuritySettings extends Object
The AS2 agreement security settings.
  • Constructor Details

    • AS2SecuritySettings

      public AS2SecuritySettings()
      Creates an instance of AS2SecuritySettings class.
  • Method Details

    • overrideGroupSigningCertificate

      public boolean overrideGroupSigningCertificate()
      Get the overrideGroupSigningCertificate property: The value indicating whether to send or request a MDN.
      Returns:
      the overrideGroupSigningCertificate value.
    • withOverrideGroupSigningCertificate

      public AS2SecuritySettings withOverrideGroupSigningCertificate(boolean overrideGroupSigningCertificate)
      Set the overrideGroupSigningCertificate property: The value indicating whether to send or request a MDN.
      Parameters:
      overrideGroupSigningCertificate - the overrideGroupSigningCertificate value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • signingCertificateName

      public String signingCertificateName()
      Get the signingCertificateName property: The name of the signing certificate.
      Returns:
      the signingCertificateName value.
    • withSigningCertificateName

      public AS2SecuritySettings withSigningCertificateName(String signingCertificateName)
      Set the signingCertificateName property: The name of the signing certificate.
      Parameters:
      signingCertificateName - the signingCertificateName value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • encryptionCertificateName

      public String encryptionCertificateName()
      Get the encryptionCertificateName property: The name of the encryption certificate.
      Returns:
      the encryptionCertificateName value.
    • withEncryptionCertificateName

      public AS2SecuritySettings withEncryptionCertificateName(String encryptionCertificateName)
      Set the encryptionCertificateName property: The name of the encryption certificate.
      Parameters:
      encryptionCertificateName - the encryptionCertificateName value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • enableNrrForInboundEncodedMessages

      public boolean enableNrrForInboundEncodedMessages()
      Get the enableNrrForInboundEncodedMessages property: The value indicating whether to enable NRR for inbound encoded messages.
      Returns:
      the enableNrrForInboundEncodedMessages value.
    • withEnableNrrForInboundEncodedMessages

      public AS2SecuritySettings withEnableNrrForInboundEncodedMessages(boolean enableNrrForInboundEncodedMessages)
      Set the enableNrrForInboundEncodedMessages property: The value indicating whether to enable NRR for inbound encoded messages.
      Parameters:
      enableNrrForInboundEncodedMessages - the enableNrrForInboundEncodedMessages value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • enableNrrForInboundDecodedMessages

      public boolean enableNrrForInboundDecodedMessages()
      Get the enableNrrForInboundDecodedMessages property: The value indicating whether to enable NRR for inbound decoded messages.
      Returns:
      the enableNrrForInboundDecodedMessages value.
    • withEnableNrrForInboundDecodedMessages

      public AS2SecuritySettings withEnableNrrForInboundDecodedMessages(boolean enableNrrForInboundDecodedMessages)
      Set the enableNrrForInboundDecodedMessages property: The value indicating whether to enable NRR for inbound decoded messages.
      Parameters:
      enableNrrForInboundDecodedMessages - the enableNrrForInboundDecodedMessages value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • enableNrrForOutboundMdn

      public boolean enableNrrForOutboundMdn()
      Get the enableNrrForOutboundMdn property: The value indicating whether to enable NRR for outbound MDN.
      Returns:
      the enableNrrForOutboundMdn value.
    • withEnableNrrForOutboundMdn

      public AS2SecuritySettings withEnableNrrForOutboundMdn(boolean enableNrrForOutboundMdn)
      Set the enableNrrForOutboundMdn property: The value indicating whether to enable NRR for outbound MDN.
      Parameters:
      enableNrrForOutboundMdn - the enableNrrForOutboundMdn value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • enableNrrForOutboundEncodedMessages

      public boolean enableNrrForOutboundEncodedMessages()
      Get the enableNrrForOutboundEncodedMessages property: The value indicating whether to enable NRR for outbound encoded messages.
      Returns:
      the enableNrrForOutboundEncodedMessages value.
    • withEnableNrrForOutboundEncodedMessages

      public AS2SecuritySettings withEnableNrrForOutboundEncodedMessages(boolean enableNrrForOutboundEncodedMessages)
      Set the enableNrrForOutboundEncodedMessages property: The value indicating whether to enable NRR for outbound encoded messages.
      Parameters:
      enableNrrForOutboundEncodedMessages - the enableNrrForOutboundEncodedMessages value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • enableNrrForOutboundDecodedMessages

      public boolean enableNrrForOutboundDecodedMessages()
      Get the enableNrrForOutboundDecodedMessages property: The value indicating whether to enable NRR for outbound decoded messages.
      Returns:
      the enableNrrForOutboundDecodedMessages value.
    • withEnableNrrForOutboundDecodedMessages

      public AS2SecuritySettings withEnableNrrForOutboundDecodedMessages(boolean enableNrrForOutboundDecodedMessages)
      Set the enableNrrForOutboundDecodedMessages property: The value indicating whether to enable NRR for outbound decoded messages.
      Parameters:
      enableNrrForOutboundDecodedMessages - the enableNrrForOutboundDecodedMessages value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • enableNrrForInboundMdn

      public boolean enableNrrForInboundMdn()
      Get the enableNrrForInboundMdn property: The value indicating whether to enable NRR for inbound MDN.
      Returns:
      the enableNrrForInboundMdn value.
    • withEnableNrrForInboundMdn

      public AS2SecuritySettings withEnableNrrForInboundMdn(boolean enableNrrForInboundMdn)
      Set the enableNrrForInboundMdn property: The value indicating whether to enable NRR for inbound MDN.
      Parameters:
      enableNrrForInboundMdn - the enableNrrForInboundMdn value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • sha2AlgorithmFormat

      public String sha2AlgorithmFormat()
      Get the sha2AlgorithmFormat property: The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize.
      Returns:
      the sha2AlgorithmFormat value.
    • withSha2AlgorithmFormat

      public AS2SecuritySettings withSha2AlgorithmFormat(String sha2AlgorithmFormat)
      Set the sha2AlgorithmFormat property: The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize.
      Parameters:
      sha2AlgorithmFormat - the sha2AlgorithmFormat value to set.
      Returns:
      the AS2SecuritySettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.