ChannelInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventgrid. fluent. models. ChannelInner
- com.
- com.
public final class ChannelInner
extends ProxyResource
Channel info.
Constructor Summary
| Constructor | Description |
|---|---|
| ChannelInner() |
Creates an instance of Channel |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Channel |
channelType()
Get the channel |
|
Offset |
expirationTimeIfNotActivatedUtc()
Get the expiration |
|
static
Channel |
fromJson(JsonReader jsonReader)
Reads an instance of Channel |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
messageForActivation()
Get the message |
| String |
name()
Get the name property: The name of the resource. |
|
Partner |
partnerTopicInfo()
Get the partner |
|
Channel |
provisioningState()
Get the provisioning |
|
Readiness |
readinessState()
Get the readiness |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Channel |
withChannelType(ChannelType channelType)
Set the channel |
|
Channel |
withExpirationTimeIfNotActivatedUtc(OffsetDateTime expirationTimeIfNotActivatedUtc)
Set the expiration |
|
Channel |
withMessageForActivation(String messageForActivation)
Set the message |
|
Channel |
withPartnerTopicInfo(PartnerTopicInfo partnerTopicInfo)
Set the partner |
|
Channel |
withProvisioningState(ChannelProvisioningState provisioningState)
Set the provisioning |
|
Channel |
withReadinessState(ReadinessState readinessState)
Set the readiness |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ChannelInner
public ChannelInner()
Creates an instance of ChannelInner class.
Method Details
channelType
public ChannelType channelType()
Get the channelType property: The type of the event channel which represents the direction flow of events.
Returns:
expirationTimeIfNotActivatedUtc
public OffsetDateTime 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:
fromJson
public static ChannelInner fromJson(JsonReader jsonReader)
Reads an instance of ChannelInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ChannelInner.id()Returns:
messageForActivation
public String messageForActivation()
Get the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ChannelInner.name()Returns:
partnerTopicInfo
public PartnerTopicInfo 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:
provisioningState
public ChannelProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the channel.
Returns:
readinessState
public ReadinessState readinessState()
Get the readinessState property: The readiness state of the corresponding partner topic.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata relating to the Event Grid resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ChannelInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ChannelInner.type()Returns:
validate
public void validate()
Validates the instance.
withChannelType
public ChannelInner withChannelType(ChannelType channelType)
Set the channelType property: The type of the event channel which represents the direction flow of events.
Parameters:
Returns:
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:
Returns:
withMessageForActivation
public ChannelInner withMessageForActivation(String messageForActivation)
Set the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.
Parameters:
Returns:
withPartnerTopicInfo
public ChannelInner 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.
Parameters:
Returns:
withProvisioningState
public ChannelInner withProvisioningState(ChannelProvisioningState provisioningState)
Set the provisioningState property: Provisioning state of the channel.
Parameters:
Returns:
withReadinessState
public ChannelInner withReadinessState(ReadinessState readinessState)
Set the readinessState property: The readiness state of the corresponding partner topic.
Parameters:
Returns: