Class IntegrationAccountAgreementProperties

java.lang.Object
com.azure.resourcemanager.logic.fluent.models.IntegrationAccountAgreementProperties

public final class IntegrationAccountAgreementProperties extends Object
The integration account agreement properties.
  • Constructor Details

    • IntegrationAccountAgreementProperties

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

    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: The created time.
      Returns:
      the createdTime value.
    • changedTime

      public OffsetDateTime changedTime()
      Get the changedTime property: The changed time.
      Returns:
      the changedTime value.
    • metadata

      public Object metadata()
      Get the metadata property: The metadata.
      Returns:
      the metadata value.
    • withMetadata

      public IntegrationAccountAgreementProperties withMetadata(Object metadata)
      Set the metadata property: The metadata.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • agreementType

      public AgreementType agreementType()
      Get the agreementType property: The agreement type.
      Returns:
      the agreementType value.
    • withAgreementType

      public IntegrationAccountAgreementProperties withAgreementType(AgreementType agreementType)
      Set the agreementType property: The agreement type.
      Parameters:
      agreementType - the agreementType value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • hostPartner

      public String hostPartner()
      Get the hostPartner property: The integration account partner that is set as host partner for this agreement.
      Returns:
      the hostPartner value.
    • withHostPartner

      public IntegrationAccountAgreementProperties withHostPartner(String hostPartner)
      Set the hostPartner property: The integration account partner that is set as host partner for this agreement.
      Parameters:
      hostPartner - the hostPartner value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • guestPartner

      public String guestPartner()
      Get the guestPartner property: The integration account partner that is set as guest partner for this agreement.
      Returns:
      the guestPartner value.
    • withGuestPartner

      public IntegrationAccountAgreementProperties withGuestPartner(String guestPartner)
      Set the guestPartner property: The integration account partner that is set as guest partner for this agreement.
      Parameters:
      guestPartner - the guestPartner value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • hostIdentity

      public BusinessIdentity hostIdentity()
      Get the hostIdentity property: The business identity of the host partner.
      Returns:
      the hostIdentity value.
    • withHostIdentity

      public IntegrationAccountAgreementProperties withHostIdentity(BusinessIdentity hostIdentity)
      Set the hostIdentity property: The business identity of the host partner.
      Parameters:
      hostIdentity - the hostIdentity value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • guestIdentity

      public BusinessIdentity guestIdentity()
      Get the guestIdentity property: The business identity of the guest partner.
      Returns:
      the guestIdentity value.
    • withGuestIdentity

      public IntegrationAccountAgreementProperties withGuestIdentity(BusinessIdentity guestIdentity)
      Set the guestIdentity property: The business identity of the guest partner.
      Parameters:
      guestIdentity - the guestIdentity value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • content

      public AgreementContent content()
      Get the content property: The agreement content.
      Returns:
      the content value.
    • withContent

      Set the content property: The agreement content.
      Parameters:
      content - the content value to set.
      Returns:
      the IntegrationAccountAgreementProperties object itself.
    • validate

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