Class IntegrationAccountAgreementInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.logic.fluent.models.IntegrationAccountAgreementInner

public final class IntegrationAccountAgreementInner extends com.azure.core.management.Resource
The integration account agreement.
  • Constructor Details

    • IntegrationAccountAgreementInner

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

    • withLocation

      public IntegrationAccountAgreementInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 IntegrationAccountAgreementInner withMetadata(Object metadata)
      Set the metadata property: The metadata.
      Parameters:
      metadata - the metadata value to set.
      Returns:
      the IntegrationAccountAgreementInner object itself.
    • agreementType

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

      public IntegrationAccountAgreementInner withAgreementType(AgreementType agreementType)
      Set the agreementType property: The agreement type.
      Parameters:
      agreementType - the agreementType value to set.
      Returns:
      the IntegrationAccountAgreementInner 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 IntegrationAccountAgreementInner 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 IntegrationAccountAgreementInner 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 IntegrationAccountAgreementInner 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 IntegrationAccountAgreementInner object itself.
    • hostIdentity

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

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

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

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

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

      public IntegrationAccountAgreementInner withContent(AgreementContent content)
      Set the content property: The agreement content.
      Parameters:
      content - the content value to set.
      Returns:
      the IntegrationAccountAgreementInner object itself.
    • validate

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