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

public final class ChannelInner extends com.azure.core.management.ProxyResource
Channel info.
  • Constructor Details

    • ChannelInner

      public ChannelInner()
  • Method Details

    • systemData

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

      public ChannelType channelType()
      Get the channelType property: The type of the event channel which represents the direction flow of events.
      Returns:
      the channelType value.
    • withChannelType

      public ChannelInner withChannelType(ChannelType channelType)
      Set the channelType property: The type of the event channel which represents the direction flow of events.
      Parameters:
      channelType - the channelType value to set.
      Returns:
      the ChannelInner object itself.
    • partnerTopicInfo

      public PartnerTopicInfo partnerTopicInfo()
      Get the partnerTopicInfo property: This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
      Returns:
      the partnerTopicInfo value.
    • withPartnerTopicInfo

      public ChannelInner withPartnerTopicInfo(PartnerTopicInfo partnerTopicInfo)
      Set the partnerTopicInfo property: This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
      Parameters:
      partnerTopicInfo - the partnerTopicInfo value to set.
      Returns:
      the ChannelInner 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 ChannelInner 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 ChannelInner object itself.
    • provisioningState

      public ChannelProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the channel.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public ChannelInner withProvisioningState(ChannelProvisioningState provisioningState)
      Set the provisioningState property: Provisioning state of the channel.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the ChannelInner object itself.
    • readinessState

      public ReadinessState readinessState()
      Get the readinessState property: The readiness state of the corresponding partner topic.
      Returns:
      the readinessState value.
    • withReadinessState

      public ChannelInner withReadinessState(ReadinessState readinessState)
      Set the readinessState property: The readiness state of the corresponding partner topic.
      Parameters:
      readinessState - the readinessState value to set.
      Returns:
      the ChannelInner object itself.
    • expirationTimeIfNotActivatedUtc

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

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

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