ChannelUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. ChannelUpdateParameters
- com.
Implements
public final class ChannelUpdateParameters
implements JsonSerializable<ChannelUpdateParameters>
Properties of the Channel update.
Constructor Summary
| Constructor | Description |
|---|---|
| ChannelUpdateParameters() |
Creates an instance of Channel |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
expirationTimeIfNotActivatedUtc()
Get the expiration |
|
static
Channel |
fromJson(JsonReader jsonReader)
Reads an instance of Channel |
|
Partner |
partnerDestinationInfo()
Get the partner |
|
Partner |
partnerTopicInfo()
Get the partner |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Channel |
withExpirationTimeIfNotActivatedUtc(OffsetDateTime expirationTimeIfNotActivatedUtc)
Set the expiration |
|
Channel |
withPartnerDestinationInfo(PartnerUpdateDestinationInfo partnerDestinationInfo)
Set the partner |
|
Channel |
withPartnerTopicInfo(PartnerUpdateTopicInfo partnerTopicInfo)
Set the partner |
Methods inherited from java.lang.Object
Constructor Details
ChannelUpdateParameters
public ChannelUpdateParameters()
Creates an instance of ChannelUpdateParameters class.
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:
fromJson
public static ChannelUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of ChannelUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
partnerDestinationInfo
public PartnerUpdateDestinationInfo partnerDestinationInfo()
Get the partnerDestinationInfo property: Partner destination properties which can be updated if the channel is of type PartnerDestination.
Returns:
partnerTopicInfo
public PartnerUpdateTopicInfo partnerTopicInfo()
Get the partnerTopicInfo property: Partner topic properties which can be updated if the channel is of type PartnerTopic.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withPartnerDestinationInfo
public ChannelUpdateParameters withPartnerDestinationInfo(PartnerUpdateDestinationInfo partnerDestinationInfo)
Set the partnerDestinationInfo property: Partner destination properties which can be updated if the channel is of type PartnerDestination.
Parameters:
Returns:
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:
Returns: