Class DigitalTwinsEndpointResourceProperties
java.lang.Object
com.azure.resourcemanager.digitaltwins.models.DigitalTwinsEndpointResourceProperties
- Direct Known Subclasses:
EventGrid
,EventHub
,ServiceBus
Properties related to Digital Twins Endpoint.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: Specifies the authentication type being used for connecting to the endpoint.Get the createdTime property: Time when the Endpoint was added to DigitalTwinsInstance.Get the deadLetterSecret property: Dead letter storage secret for key-based authentication.Get the deadLetterUri property: Dead letter storage URL for identity-based authentication.Get the provisioningState property: The provisioning state.void
validate()
Validates the instance.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.
-
Constructor Details
-
DigitalTwinsEndpointResourceProperties
public DigitalTwinsEndpointResourceProperties()
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
createdTime
Get the createdTime property: Time when the Endpoint was added to DigitalTwinsInstance.- Returns:
- the createdTime value.
-
authenticationType
Get 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.- Returns:
- the authenticationType value.
-
withAuthenticationType
public DigitalTwinsEndpointResourceProperties withAuthenticationType(AuthenticationType authenticationType) 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.- Parameters:
authenticationType
- the authenticationType value to set.- Returns:
- the DigitalTwinsEndpointResourceProperties object itself.
-
deadLetterSecret
Get the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.- Returns:
- the deadLetterSecret value.
-
withDeadLetterSecret
Set the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.- Parameters:
deadLetterSecret
- the deadLetterSecret value to set.- Returns:
- the DigitalTwinsEndpointResourceProperties object itself.
-
deadLetterUri
Get the deadLetterUri property: Dead letter storage URL for identity-based authentication.- Returns:
- the deadLetterUri value.
-
withDeadLetterUri
Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.- Parameters:
deadLetterUri
- the deadLetterUri value to set.- Returns:
- the DigitalTwinsEndpointResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-