Class AS2EnvelopeSettings

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

public final class AS2EnvelopeSettings extends Object
The AS2 agreement envelope settings.
  • Constructor Details

    • AS2EnvelopeSettings

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

    • messageContentType

      public String messageContentType()
      Get the messageContentType property: The message content type.
      Returns:
      the messageContentType value.
    • withMessageContentType

      public AS2EnvelopeSettings withMessageContentType(String messageContentType)
      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

      public AS2EnvelopeSettings withTransmitFileNameInMimeHeader(boolean transmitFileNameInMimeHeader)
      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

      public String fileNameTemplate()
      Get the fileNameTemplate property: The template for file name.
      Returns:
      the fileNameTemplate value.
    • withFileNameTemplate

      public AS2EnvelopeSettings withFileNameTemplate(String fileNameTemplate)
      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

      public AS2EnvelopeSettings withAutogenerateFileName(boolean autogenerateFileName)
      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.