Class DigitalTwinsEndpointResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.digitaltwins.models.DigitalTwinsEndpointResourceProperties
-
- Direct Known Subclasses:
EventGrid
,EventHub
,ServiceBus
public class DigitalTwinsEndpointResourceProperties extends Object
Properties related to Digital Twins Endpoint.
-
-
Constructor Summary
Constructors Constructor Description DigitalTwinsEndpointResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationType
authenticationType()
Get the authenticationType property: Specifies the authentication type being used for connecting to the endpoint.OffsetDateTime
createdTime()
Get the createdTime property: Time when the Endpoint was added to DigitalTwinsInstance.String
deadLetterSecret()
Get the deadLetterSecret property: Dead letter storage secret for key-based authentication.String
deadLetterUri()
Get the deadLetterUri property: Dead letter storage URL for identity-based authentication.EndpointProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.void
validate()
Validates the instance.DigitalTwinsEndpointResourceProperties
withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: Specifies the authentication type being used for connecting to the endpoint.DigitalTwinsEndpointResourceProperties
withDeadLetterSecret(String deadLetterSecret)
Set the deadLetterSecret property: Dead letter storage secret for key-based authentication.DigitalTwinsEndpointResourceProperties
withDeadLetterUri(String deadLetterUri)
Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.
-
-
-
Method Detail
-
provisioningState
public EndpointProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Time when the Endpoint was added to DigitalTwinsInstance.- Returns:
- the createdTime value.
-
authenticationType
public AuthenticationType 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
public String deadLetterSecret()
Get the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.- Returns:
- the deadLetterSecret value.
-
withDeadLetterSecret
public DigitalTwinsEndpointResourceProperties withDeadLetterSecret(String deadLetterSecret)
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
public String deadLetterUri()
Get the deadLetterUri property: Dead letter storage URL for identity-based authentication.- Returns:
- the deadLetterUri value.
-
withDeadLetterUri
public DigitalTwinsEndpointResourceProperties withDeadLetterUri(String deadLetterUri)
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.
-
-