Class AS2AgreementContent

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

public final class AS2AgreementContent extends Object
The integration account AS2 agreement content.
  • Constructor Details

    • AS2AgreementContent

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

    • receiveAgreement

      public AS2OneWayAgreement receiveAgreement()
      Get the receiveAgreement property: The AS2 one-way receive agreement.
      Returns:
      the receiveAgreement value.
    • withReceiveAgreement

      public AS2AgreementContent withReceiveAgreement(AS2OneWayAgreement receiveAgreement)
      Set the receiveAgreement property: The AS2 one-way receive agreement.
      Parameters:
      receiveAgreement - the receiveAgreement value to set.
      Returns:
      the AS2AgreementContent object itself.
    • sendAgreement

      public AS2OneWayAgreement sendAgreement()
      Get the sendAgreement property: The AS2 one-way send agreement.
      Returns:
      the sendAgreement value.
    • withSendAgreement

      public AS2AgreementContent withSendAgreement(AS2OneWayAgreement sendAgreement)
      Set the sendAgreement property: The AS2 one-way send agreement.
      Parameters:
      sendAgreement - the sendAgreement value to set.
      Returns:
      the AS2AgreementContent object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.