Class AS2SecuritySettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2SecuritySettings
The AS2 agreement security settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the enableNrrForInboundDecodedMessages property: The value indicating whether to enable NRR for inbound decoded messages.boolean
Get the enableNrrForInboundEncodedMessages property: The value indicating whether to enable NRR for inbound encoded messages.boolean
Get the enableNrrForInboundMdn property: The value indicating whether to enable NRR for inbound MDN.boolean
Get the enableNrrForOutboundDecodedMessages property: The value indicating whether to enable NRR for outbound decoded messages.boolean
Get the enableNrrForOutboundEncodedMessages property: The value indicating whether to enable NRR for outbound encoded messages.boolean
Get the enableNrrForOutboundMdn property: The value indicating whether to enable NRR for outbound MDN.Get the encryptionCertificateName property: The name of the encryption certificate.boolean
Get the overrideGroupSigningCertificate property: The value indicating whether to send or request a MDN.Get the sha2AlgorithmFormat property: The Sha2 algorithm format.Get the signingCertificateName property: The name of the signing certificate.void
validate()
Validates the instance.withEnableNrrForInboundDecodedMessages
(boolean enableNrrForInboundDecodedMessages) Set the enableNrrForInboundDecodedMessages property: The value indicating whether to enable NRR for inbound decoded messages.withEnableNrrForInboundEncodedMessages
(boolean enableNrrForInboundEncodedMessages) Set the enableNrrForInboundEncodedMessages property: The value indicating whether to enable NRR for inbound encoded messages.withEnableNrrForInboundMdn
(boolean enableNrrForInboundMdn) Set the enableNrrForInboundMdn property: The value indicating whether to enable NRR for inbound MDN.withEnableNrrForOutboundDecodedMessages
(boolean enableNrrForOutboundDecodedMessages) Set the enableNrrForOutboundDecodedMessages property: The value indicating whether to enable NRR for outbound decoded messages.withEnableNrrForOutboundEncodedMessages
(boolean enableNrrForOutboundEncodedMessages) Set the enableNrrForOutboundEncodedMessages property: The value indicating whether to enable NRR for outbound encoded messages.withEnableNrrForOutboundMdn
(boolean enableNrrForOutboundMdn) Set the enableNrrForOutboundMdn property: The value indicating whether to enable NRR for outbound MDN.withEncryptionCertificateName
(String encryptionCertificateName) Set the encryptionCertificateName property: The name of the encryption certificate.withOverrideGroupSigningCertificate
(boolean overrideGroupSigningCertificate) Set the overrideGroupSigningCertificate property: The value indicating whether to send or request a MDN.withSha2AlgorithmFormat
(String sha2AlgorithmFormat) Set the sha2AlgorithmFormat property: The Sha2 algorithm format.withSigningCertificateName
(String signingCertificateName) Set the signingCertificateName property: The name of the signing certificate.
-
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
Get the signingCertificateName property: The name of the signing certificate.- Returns:
- the signingCertificateName value.
-
withSigningCertificateName
Set the signingCertificateName property: The name of the signing certificate.- Parameters:
signingCertificateName
- the signingCertificateName value to set.- Returns:
- the AS2SecuritySettings object itself.
-
encryptionCertificateName
Get the encryptionCertificateName property: The name of the encryption certificate.- Returns:
- the encryptionCertificateName value.
-
withEncryptionCertificateName
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
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
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
Get the sha2AlgorithmFormat property: The Sha2 algorithm format. Valid values are Sha2, ShaHashSize, ShaHyphenHashSize, Sha2UnderscoreHashSize.- Returns:
- the sha2AlgorithmFormat value.
-
withSha2AlgorithmFormat
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.
-