Class PartnerTopicInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.eventgrid.fluent.models.PartnerTopicInner

public final class PartnerTopicInner extends com.azure.core.management.Resource
Event Grid Partner Topic.
  • Constructor Details

    • PartnerTopicInner

      public PartnerTopicInner()
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system metadata relating to Partner Topic resource.
      Returns:
      the systemData value.
    • identity

      public IdentityInfo identity()
      Get the identity property: Identity information for the Partner Topic resource.
      Returns:
      the identity value.
    • withIdentity

      public PartnerTopicInner withIdentity(IdentityInfo identity)
      Set the identity property: Identity information for the Partner Topic resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the PartnerTopicInner object itself.
    • withLocation

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

      public PartnerTopicInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • partnerRegistrationImmutableId

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

      public PartnerTopicInner withPartnerRegistrationImmutableId(UUID partnerRegistrationImmutableId)
      Set the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.
      Parameters:
      partnerRegistrationImmutableId - the partnerRegistrationImmutableId value to set.
      Returns:
      the PartnerTopicInner 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 PartnerTopicInner 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 PartnerTopicInner object itself.
    • eventTypeInfo

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

      public PartnerTopicInner withEventTypeInfo(EventTypeInfo eventTypeInfo)
      Set the eventTypeInfo property: Event Type information from the corresponding event channel.
      Parameters:
      eventTypeInfo - the eventTypeInfo value to set.
      Returns:
      the PartnerTopicInner 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 PartnerTopicInner 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 PartnerTopicInner 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 PartnerTopicInner withActivationState(PartnerTopicActivationState activationState)
      Set the activationState property: Activation state of the partner topic.
      Parameters:
      activationState - the activationState value to set.
      Returns:
      the PartnerTopicInner 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 PartnerTopicInner 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 PartnerTopicInner 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 PartnerTopicInner 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 PartnerTopicInner object itself.
    • validate

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