java.lang.Object
com.azure.resourcemanager.eventgrid.models.Partner

public final class Partner extends Object
Information about the partner.
  • Constructor Details

    • Partner

      public Partner()
  • Method Details

    • partnerRegistrationImmutableId

      public UUID partnerRegistrationImmutableId()
      Get the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.
      Returns:
      the partnerRegistrationImmutableId value.
    • withPartnerRegistrationImmutableId

      public Partner withPartnerRegistrationImmutableId(UUID partnerRegistrationImmutableId)
      Set the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.
      Parameters:
      partnerRegistrationImmutableId - the partnerRegistrationImmutableId value to set.
      Returns:
      the Partner object itself.
    • partnerName

      public String partnerName()
      Get the partnerName property: The partner name.
      Returns:
      the partnerName value.
    • withPartnerName

      public Partner withPartnerName(String partnerName)
      Set the partnerName property: The partner name.
      Parameters:
      partnerName - the partnerName value to set.
      Returns:
      the Partner object itself.
    • authorizationExpirationTimeInUtc

      public OffsetDateTime authorizationExpirationTimeInUtc()
      Get the authorizationExpirationTimeInUtc property: Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration. If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.
      Returns:
      the authorizationExpirationTimeInUtc value.
    • withAuthorizationExpirationTimeInUtc

      public Partner withAuthorizationExpirationTimeInUtc(OffsetDateTime authorizationExpirationTimeInUtc)
      Set the authorizationExpirationTimeInUtc property: Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration. If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.
      Parameters:
      authorizationExpirationTimeInUtc - the authorizationExpirationTimeInUtc value to set.
      Returns:
      the Partner object itself.
    • validate

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