Class EventGrid
java.lang.Object
com.azure.resourcemanager.digitaltwins.models.DigitalTwinsEndpointResourceProperties
com.azure.resourcemanager.digitaltwins.models.EventGrid
Properties related to EventGrid.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessKey1 property: EventGrid secondary accesskey.Get the accessKey2 property: EventGrid secondary accesskey.Get the topicEndpoint property: EventGrid Topic Endpoint.void
validate()
Validates the instance.withAccessKey1
(String accessKey1) Set the accessKey1 property: EventGrid secondary accesskey.withAccessKey2
(String accessKey2) Set the accessKey2 property: EventGrid secondary accesskey.withAuthenticationType
(AuthenticationType authenticationType) Set the authenticationType property: Specifies the authentication type being used for connecting to the endpoint.withDeadLetterSecret
(String deadLetterSecret) Set the deadLetterSecret property: Dead letter storage secret for key-based authentication.withDeadLetterUri
(String deadLetterUri) Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.withTopicEndpoint
(String topicEndpoint) Set the topicEndpoint property: EventGrid Topic Endpoint.Methods inherited from class com.azure.resourcemanager.digitaltwins.models.DigitalTwinsEndpointResourceProperties
authenticationType, createdTime, deadLetterSecret, deadLetterUri, provisioningState
-
Constructor Details
-
EventGrid
public EventGrid()
-
-
Method Details
-
topicEndpoint
Get the topicEndpoint property: EventGrid Topic Endpoint.- Returns:
- the topicEndpoint value.
-
withTopicEndpoint
Set the topicEndpoint property: EventGrid Topic Endpoint.- Parameters:
topicEndpoint
- the topicEndpoint value to set.- Returns:
- the EventGrid object itself.
-
accessKey1
Get the accessKey1 property: EventGrid secondary accesskey. Will be obfuscated during read.- Returns:
- the accessKey1 value.
-
withAccessKey1
Set the accessKey1 property: EventGrid secondary accesskey. Will be obfuscated during read.- Parameters:
accessKey1
- the accessKey1 value to set.- Returns:
- the EventGrid object itself.
-
accessKey2
Get the accessKey2 property: EventGrid secondary accesskey. Will be obfuscated during read.- Returns:
- the accessKey2 value.
-
withAccessKey2
Set the accessKey2 property: EventGrid secondary accesskey. Will be obfuscated during read.- Parameters:
accessKey2
- the accessKey2 value to set.- Returns:
- the EventGrid object itself.
-
withAuthenticationType
Set the authenticationType property: Specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified.- Overrides:
withAuthenticationType
in classDigitalTwinsEndpointResourceProperties
- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the DigitalTwinsEndpointResourceProperties object itself.
-
withDeadLetterSecret
Set the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.- Overrides:
withDeadLetterSecret
in classDigitalTwinsEndpointResourceProperties
- Parameters:
deadLetterSecret
- the deadLetterSecret value to set.- Returns:
- the DigitalTwinsEndpointResourceProperties object itself.
-
withDeadLetterUri
Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.- Overrides:
withDeadLetterUri
in classDigitalTwinsEndpointResourceProperties
- Parameters:
deadLetterUri
- the deadLetterUri value to set.- Returns:
- the DigitalTwinsEndpointResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDigitalTwinsEndpointResourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-