Class PartnerTopicProperties

java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.PartnerTopicProperties

public final class PartnerTopicProperties extends Object
Properties of the Partner Topic.
  • Constructor Details

    • PartnerTopicProperties

      public PartnerTopicProperties()
  • Method Details

    • partnerRegistrationImmutableId

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

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

      public String source()
      Get the source property: Source associated with this partner topic. This represents a unique partner resource.
      Returns:
      the source value.
    • withSource

      public PartnerTopicProperties withSource(String source)
      Set the source property: Source associated with this partner topic. This represents a unique partner resource.
      Parameters:
      source - the source value to set.
      Returns:
      the PartnerTopicProperties object itself.
    • eventTypeInfo

      public EventTypeInfo eventTypeInfo()
      Get the eventTypeInfo property: Event Type information from the corresponding event channel.
      Returns:
      the eventTypeInfo value.
    • withEventTypeInfo

      public PartnerTopicProperties withEventTypeInfo(EventTypeInfo eventTypeInfo)
      Set the eventTypeInfo property: Event Type information from the corresponding event channel.
      Parameters:
      eventTypeInfo - the eventTypeInfo value to set.
      Returns:
      the PartnerTopicProperties object itself.
    • expirationTimeIfNotActivatedUtc

      public OffsetDateTime expirationTimeIfNotActivatedUtc()
      Get the expirationTimeIfNotActivatedUtc property: Expiration time of the partner topic. If this timer expires while the partner topic is still never activated, the partner topic and corresponding event channel are deleted.
      Returns:
      the expirationTimeIfNotActivatedUtc value.
    • withExpirationTimeIfNotActivatedUtc

      public PartnerTopicProperties withExpirationTimeIfNotActivatedUtc(OffsetDateTime expirationTimeIfNotActivatedUtc)
      Set the expirationTimeIfNotActivatedUtc property: Expiration time of the partner topic. If this timer expires while the partner topic is still never activated, the partner topic and corresponding event channel are deleted.
      Parameters:
      expirationTimeIfNotActivatedUtc - the expirationTimeIfNotActivatedUtc value to set.
      Returns:
      the PartnerTopicProperties object itself.
    • provisioningState

      public PartnerTopicProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the partner topic.
      Returns:
      the provisioningState value.
    • activationState

      public PartnerTopicActivationState activationState()
      Get the activationState property: Activation state of the partner topic.
      Returns:
      the activationState value.
    • withActivationState

      public PartnerTopicProperties withActivationState(PartnerTopicActivationState activationState)
      Set the activationState property: Activation state of the partner topic.
      Parameters:
      activationState - the activationState value to set.
      Returns:
      the PartnerTopicProperties object itself.
    • partnerTopicFriendlyDescription

      public String partnerTopicFriendlyDescription()
      Get the partnerTopicFriendlyDescription property: Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic. This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
      Returns:
      the partnerTopicFriendlyDescription value.
    • withPartnerTopicFriendlyDescription

      public PartnerTopicProperties withPartnerTopicFriendlyDescription(String partnerTopicFriendlyDescription)
      Set the partnerTopicFriendlyDescription property: Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic. This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
      Parameters:
      partnerTopicFriendlyDescription - the partnerTopicFriendlyDescription value to set.
      Returns:
      the PartnerTopicProperties object itself.
    • messageForActivation

      public String messageForActivation()
      Get the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.
      Returns:
      the messageForActivation value.
    • withMessageForActivation

      public PartnerTopicProperties withMessageForActivation(String messageForActivation)
      Set the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.
      Parameters:
      messageForActivation - the messageForActivation value to set.
      Returns:
      the PartnerTopicProperties object itself.
    • validate

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