Class PartnerTopicProperties
java.lang.Object
com.azure.resourcemanager.eventgrid.fluent.models.PartnerTopicProperties
Properties of the Partner Topic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activationState property: Activation state of the partner topic.Get the eventTypeInfo property: Event Type information from the corresponding event channel.Get the expirationTimeIfNotActivatedUtc property: Expiration time of the partner topic.Get the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.Get the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.Get the partnerTopicFriendlyDescription property: Friendly description about the topic.Get the provisioningState property: Provisioning state of the partner topic.source()
Get the source property: Source associated with this partner topic.void
validate()
Validates the instance.withActivationState
(PartnerTopicActivationState activationState) Set the activationState property: Activation state of the partner topic.withEventTypeInfo
(EventTypeInfo eventTypeInfo) Set the eventTypeInfo property: Event Type information from the corresponding event channel.withExpirationTimeIfNotActivatedUtc
(OffsetDateTime expirationTimeIfNotActivatedUtc) Set the expirationTimeIfNotActivatedUtc property: Expiration time of the partner topic.withMessageForActivation
(String messageForActivation) Set the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.withPartnerRegistrationImmutableId
(UUID partnerRegistrationImmutableId) Set the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.withPartnerTopicFriendlyDescription
(String partnerTopicFriendlyDescription) Set the partnerTopicFriendlyDescription property: Friendly description about the topic.withSource
(String source) Set the source property: Source associated with this partner topic.
-
Constructor Details
-
PartnerTopicProperties
public PartnerTopicProperties()
-
-
Method Details
-
partnerRegistrationImmutableId
Get the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.- Returns:
- the partnerRegistrationImmutableId value.
-
withPartnerRegistrationImmutableId
public PartnerTopicProperties withPartnerRegistrationImmutableId(UUID partnerRegistrationImmutableId) Set the partnerRegistrationImmutableId property: The immutableId of the corresponding partner registration.- Parameters:
partnerRegistrationImmutableId
- the partnerRegistrationImmutableId value to set.- Returns:
- the PartnerTopicProperties object itself.
-
source
Get the source property: Source associated with this partner topic. This represents a unique partner resource.- Returns:
- the source value.
-
withSource
Set the source property: Source associated with this partner topic. This represents a unique partner resource.- Parameters:
source
- the source value to set.- Returns:
- the PartnerTopicProperties object itself.
-
eventTypeInfo
Get the eventTypeInfo property: Event Type information from the corresponding event channel.- Returns:
- the eventTypeInfo value.
-
withEventTypeInfo
Set the eventTypeInfo property: Event Type information from the corresponding event channel.- Parameters:
eventTypeInfo
- the eventTypeInfo value to set.- Returns:
- the PartnerTopicProperties object itself.
-
expirationTimeIfNotActivatedUtc
Get the expirationTimeIfNotActivatedUtc property: Expiration time of the partner topic. If this timer expires while the partner topic is still never activated, the partner topic and corresponding event channel are deleted.- Returns:
- the expirationTimeIfNotActivatedUtc value.
-
withExpirationTimeIfNotActivatedUtc
public PartnerTopicProperties withExpirationTimeIfNotActivatedUtc(OffsetDateTime expirationTimeIfNotActivatedUtc) Set the expirationTimeIfNotActivatedUtc property: Expiration time of the partner topic. If this timer expires while the partner topic is still never activated, the partner topic and corresponding event channel are deleted.- Parameters:
expirationTimeIfNotActivatedUtc
- the expirationTimeIfNotActivatedUtc value to set.- Returns:
- the PartnerTopicProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the partner topic.- Returns:
- the provisioningState value.
-
activationState
Get the activationState property: Activation state of the partner topic.- Returns:
- the activationState value.
-
withActivationState
Set the activationState property: Activation state of the partner topic.- Parameters:
activationState
- the activationState value to set.- Returns:
- the PartnerTopicProperties object itself.
-
partnerTopicFriendlyDescription
Get the partnerTopicFriendlyDescription property: Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic. This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.- Returns:
- the partnerTopicFriendlyDescription value.
-
withPartnerTopicFriendlyDescription
public PartnerTopicProperties withPartnerTopicFriendlyDescription(String partnerTopicFriendlyDescription) Set the partnerTopicFriendlyDescription property: Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic. This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.- Parameters:
partnerTopicFriendlyDescription
- the partnerTopicFriendlyDescription value to set.- Returns:
- the PartnerTopicProperties 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 PartnerTopicProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-