AS2EnvelopeSettings Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. AS2EnvelopeSettings
- com.
Implements
public final class AS2EnvelopeSettings
implements JsonSerializable<AS2EnvelopeSettings>
The AS2 agreement envelope settings.
Constructor Summary
Constructor | Description |
---|---|
AS2EnvelopeSettings() |
Creates an instance of AS2Envelope |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
autogenerateFileName()
Get the autogenerate |
String |
fileNameTemplate()
Get the file |
static
AS2Envelope |
fromJson(JsonReader jsonReader)
Reads an instance of AS2Envelope |
String |
messageContentType()
Get the message |
boolean |
suspendMessageOnFileNameGenerationError()
Get the suspend |
Json |
toJson(JsonWriter jsonWriter) |
boolean |
transmitFileNameInMimeHeader()
Get the transmit |
void |
validate()
Validates the instance. |
AS2Envelope |
withAutogenerateFileName(boolean autogenerateFileName)
Set the autogenerate |
AS2Envelope |
withFileNameTemplate(String fileNameTemplate)
Set the file |
AS2Envelope |
withMessageContentType(String messageContentType)
Set the message |
AS2Envelope |
withSuspendMessageOnFileNameGenerationError(boolean suspendMessageOnFileNameGenerationError)
Set the suspend |
AS2Envelope |
withTransmitFileNameInMimeHeader(boolean transmitFileNameInMimeHeader)
Set the transmit |
Methods inherited from java.lang.Object
Constructor Details
AS2EnvelopeSettings
public AS2EnvelopeSettings()
Creates an instance of AS2EnvelopeSettings class.
Method Details
autogenerateFileName
public boolean autogenerateFileName()
Get the autogenerateFileName property: The value indicating whether to auto generate file name.
Returns:
fileNameTemplate
public String fileNameTemplate()
Get the fileNameTemplate property: The template for file name.
Returns:
fromJson
public static AS2EnvelopeSettings fromJson(JsonReader jsonReader)
Reads an instance of AS2EnvelopeSettings from the JsonReader.
Parameters:
Returns:
Throws:
messageContentType
public String messageContentType()
Get the messageContentType property: The message content type.
Returns:
suspendMessageOnFileNameGenerationError
public boolean suspendMessageOnFileNameGenerationError()
Get the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file name generation error.
Returns:
toJson
transmitFileNameInMimeHeader
public boolean transmitFileNameInMimeHeader()
Get the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.
Returns:
validate
public void validate()
Validates the instance.
withAutogenerateFileName
public AS2EnvelopeSettings withAutogenerateFileName(boolean autogenerateFileName)
Set the autogenerateFileName property: The value indicating whether to auto generate file name.
Parameters:
Returns:
withFileNameTemplate
public AS2EnvelopeSettings withFileNameTemplate(String fileNameTemplate)
Set the fileNameTemplate property: The template for file name.
Parameters:
Returns:
withMessageContentType
public AS2EnvelopeSettings withMessageContentType(String messageContentType)
Set the messageContentType property: The message content type.
Parameters:
Returns:
withSuspendMessageOnFileNameGenerationError
public AS2EnvelopeSettings withSuspendMessageOnFileNameGenerationError(boolean suspendMessageOnFileNameGenerationError)
Set the suspendMessageOnFileNameGenerationError property: The value indicating whether to suspend message on file name generation error.
Parameters:
Returns:
withTransmitFileNameInMimeHeader
public AS2EnvelopeSettings withTransmitFileNameInMimeHeader(boolean transmitFileNameInMimeHeader)
Set the transmitFileNameInMimeHeader property: The value indicating whether to transmit file name in mime header.
Parameters:
Returns:
Applies to
Azure SDK for Java