Class AS2EnvelopeSettings
java.lang.Object
com.azure.resourcemanager.logic.models.AS2EnvelopeSettings
The AS2 agreement envelope settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the autogenerateFileName property: The value indicating whether to auto generate file name.Get the fileNameTemplate property: The template for file name.Get the messageContentType property: The message content type.boolean
Get the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file name generation error.boolean
Get the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.void
validate()
Validates the instance.withAutogenerateFileName
(boolean autogenerateFileName) Set the autogenerateFileName property: The value indicating whether to auto generate file name.withFileNameTemplate
(String fileNameTemplate) Set the fileNameTemplate property: The template for file name.withMessageContentType
(String messageContentType) Set the messageContentType property: The message content type.withSuspendMessageOnFileNameGenerationError
(boolean suspendMessageOnFileNameGenerationError) Set the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file name generation error.withTransmitFileNameInMimeHeader
(boolean transmitFileNameInMimeHeader) Set the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.
-
Constructor Details
-
AS2EnvelopeSettings
public AS2EnvelopeSettings()Creates an instance of AS2EnvelopeSettings class.
-
-
Method Details
-
messageContentType
Get the messageContentType property: The message content type.- Returns:
- the messageContentType value.
-
withMessageContentType
Set the messageContentType property: The message content type.- Parameters:
messageContentType
- the messageContentType value to set.- Returns:
- the AS2EnvelopeSettings object itself.
-
transmitFileNameInMimeHeader
public boolean transmitFileNameInMimeHeader()Get the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.- Returns:
- the transmitFileNameInMimeHeader value.
-
withTransmitFileNameInMimeHeader
Set the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.- Parameters:
transmitFileNameInMimeHeader
- the transmitFileNameInMimeHeader value to set.- Returns:
- the AS2EnvelopeSettings object itself.
-
fileNameTemplate
Get the fileNameTemplate property: The template for file name.- Returns:
- the fileNameTemplate value.
-
withFileNameTemplate
Set the fileNameTemplate property: The template for file name.- Parameters:
fileNameTemplate
- the fileNameTemplate value to set.- Returns:
- the AS2EnvelopeSettings object itself.
-
suspendMessageOnFileNameGenerationError
public boolean suspendMessageOnFileNameGenerationError()Get the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file name generation error.- Returns:
- the suspendMessageOnFileNameGenerationError value.
-
withSuspendMessageOnFileNameGenerationError
public AS2EnvelopeSettings withSuspendMessageOnFileNameGenerationError(boolean suspendMessageOnFileNameGenerationError) Set the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file name generation error.- Parameters:
suspendMessageOnFileNameGenerationError
- the suspendMessageOnFileNameGenerationError value to set.- Returns:
- the AS2EnvelopeSettings object itself.
-
autogenerateFileName
public boolean autogenerateFileName()Get the autogenerateFileName property: The value indicating whether to auto generate file name.- Returns:
- the autogenerateFileName value.
-
withAutogenerateFileName
Set the autogenerateFileName property: The value indicating whether to auto generate file name.- Parameters:
autogenerateFileName
- the autogenerateFileName value to set.- Returns:
- the AS2EnvelopeSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-