Class ChannelUpdateParameters
java.lang.Object
com.azure.resourcemanager.eventgrid.models.ChannelUpdateParameters
Properties of the Channel update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expirationTimeIfNotActivatedUtc property: Expiration time of the channel.Get the partnerTopicInfo property: Partner topic properties which can be updated if the channel is of type PartnerTopic.void
validate()
Validates the instance.withExpirationTimeIfNotActivatedUtc
(OffsetDateTime expirationTimeIfNotActivatedUtc) Set the expirationTimeIfNotActivatedUtc property: Expiration time of the channel.withPartnerTopicInfo
(PartnerUpdateTopicInfo partnerTopicInfo) Set the partnerTopicInfo property: Partner topic properties which can be updated if the channel is of type PartnerTopic.
-
Constructor Details
-
ChannelUpdateParameters
public ChannelUpdateParameters()
-
-
Method Details
-
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
Get the partnerTopicInfo property: Partner topic properties which can be updated if the channel is of type PartnerTopic.- Returns:
- the partnerTopicInfo value.
-
withPartnerTopicInfo
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.
-