Class ChannelUpdateParameters

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

public final class ChannelUpdateParameters extends Object
Properties of the Channel update.
  • Constructor Details

    • ChannelUpdateParameters

      public ChannelUpdateParameters()
  • Method Details

    • expirationTimeIfNotActivatedUtc

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

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

      public PartnerUpdateTopicInfo partnerTopicInfo()
      Get the partnerTopicInfo property: Partner topic properties which can be updated if the channel is of type PartnerTopic.
      Returns:
      the partnerTopicInfo value.
    • withPartnerTopicInfo

      public ChannelUpdateParameters withPartnerTopicInfo(PartnerUpdateTopicInfo partnerTopicInfo)
      Set the partnerTopicInfo property: Partner topic properties which can be updated if the channel is of type PartnerTopic.
      Parameters:
      partnerTopicInfo - the partnerTopicInfo value to set.
      Returns:
      the ChannelUpdateParameters object itself.
    • validate

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