Class ChannelUpdateParametersProperties
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.ChannelUpdateParametersProperties
Properties of the channel update parameters.
-
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
-
ChannelUpdateParametersProperties
public ChannelUpdateParametersProperties()
-
-
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 ChannelUpdateParametersProperties 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 ChannelUpdateParametersProperties 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
public ChannelUpdateParametersProperties 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 ChannelUpdateParametersProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-