Class ChannelInner
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the channelType property: The type of the event channel which represents the direction flow of events.Get the expirationTimeIfNotActivatedUtc property: Expiration time of the channel.Get the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.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.Get the provisioningState property: Provisioning state of the channel.Get the readinessState property: The readiness state of the corresponding partner topic.com.azure.core.management.SystemData
Get the systemData property: The system metadata relating to Channel resource.void
validate()
Validates the instance.withChannelType
(ChannelType channelType) Set the channelType property: The type of the event channel which represents the direction flow of events.withExpirationTimeIfNotActivatedUtc
(OffsetDateTime expirationTimeIfNotActivatedUtc) Set the expirationTimeIfNotActivatedUtc property: Expiration time of the channel.withMessageForActivation
(String messageForActivation) Set the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.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.withProvisioningState
(ChannelProvisioningState provisioningState) Set the provisioningState property: Provisioning state of the channel.withReadinessState
(ReadinessState readinessState) Set the readinessState property: The readiness state of the corresponding partner topic.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
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
Get the channelType property: The type of the event channel which represents the direction flow of events.- Returns:
- the channelType value.
-
withChannelType
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
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
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
Get the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.- Returns:
- the messageForActivation value.
-
withMessageForActivation
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
Get the provisioningState property: Provisioning state of the channel.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: Provisioning state of the channel.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the ChannelInner object itself.
-
readinessState
Get the readinessState property: The readiness state of the corresponding partner topic.- Returns:
- the readinessState value.
-
withReadinessState
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
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.
-