public final class AS2AgreementContent extends Object
Constructor and Description |
---|
AS2AgreementContent() |
Modifier and Type | Method and Description |
---|---|
AS2OneWayAgreement |
receiveAgreement()
Get the receiveAgreement property: The AS2 one-way receive agreement.
|
AS2OneWayAgreement |
sendAgreement()
Get the sendAgreement property: The AS2 one-way send agreement.
|
void |
validate()
Validates the instance.
|
AS2AgreementContent |
withReceiveAgreement(AS2OneWayAgreement receiveAgreement)
Set the receiveAgreement property: The AS2 one-way receive agreement.
|
AS2AgreementContent |
withSendAgreement(AS2OneWayAgreement sendAgreement)
Set the sendAgreement property: The AS2 one-way send agreement.
|
public AS2OneWayAgreement receiveAgreement()
public AS2AgreementContent withReceiveAgreement(AS2OneWayAgreement receiveAgreement)
receiveAgreement
- the receiveAgreement value to set.public AS2OneWayAgreement sendAgreement()
public AS2AgreementContent withSendAgreement(AS2OneWayAgreement sendAgreement)
sendAgreement
- the sendAgreement value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.