public final class AS2EnvelopeSettings extends Object
Constructor and Description |
---|
AS2EnvelopeSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
autogenerateFileName()
Get the autogenerateFileName property: The value indicating whether to auto generate file name.
|
String |
fileNameTemplate()
Get the fileNameTemplate property: The template for file name.
|
String |
messageContentType()
Get the messageContentType property: The message content type.
|
boolean |
suspendMessageOnFileNameGenerationError()
Get the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file
name generation error.
|
boolean |
transmitFileNameInMimeHeader()
Get the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.
|
void |
validate()
Validates the instance.
|
AS2EnvelopeSettings |
withAutogenerateFileName(boolean autogenerateFileName)
Set the autogenerateFileName property: The value indicating whether to auto generate file name.
|
AS2EnvelopeSettings |
withFileNameTemplate(String fileNameTemplate)
Set the fileNameTemplate property: The template for file name.
|
AS2EnvelopeSettings |
withMessageContentType(String messageContentType)
Set the messageContentType property: The message content type.
|
AS2EnvelopeSettings |
withSuspendMessageOnFileNameGenerationError(boolean suspendMessageOnFileNameGenerationError)
Set the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file
name generation error.
|
AS2EnvelopeSettings |
withTransmitFileNameInMimeHeader(boolean transmitFileNameInMimeHeader)
Set the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.
|
public String messageContentType()
public AS2EnvelopeSettings withMessageContentType(String messageContentType)
messageContentType
- the messageContentType value to set.public boolean transmitFileNameInMimeHeader()
public AS2EnvelopeSettings withTransmitFileNameInMimeHeader(boolean transmitFileNameInMimeHeader)
transmitFileNameInMimeHeader
- the transmitFileNameInMimeHeader value to set.public String fileNameTemplate()
public AS2EnvelopeSettings withFileNameTemplate(String fileNameTemplate)
fileNameTemplate
- the fileNameTemplate value to set.public boolean suspendMessageOnFileNameGenerationError()
public AS2EnvelopeSettings withSuspendMessageOnFileNameGenerationError(boolean suspendMessageOnFileNameGenerationError)
suspendMessageOnFileNameGenerationError
- the suspendMessageOnFileNameGenerationError value to set.public boolean autogenerateFileName()
public AS2EnvelopeSettings withAutogenerateFileName(boolean autogenerateFileName)
autogenerateFileName
- the autogenerateFileName value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.