EventGrid Class
- java.
lang. Object - com.
azure. resourcemanager. digitaltwins. models. DigitalTwinsEndpointResourceProperties - com.
azure. resourcemanager. digitaltwins. models. EventGrid
- com.
- com.
public final class EventGrid
extends DigitalTwinsEndpointResourceProperties
Properties related to EventGrid.
Constructor Summary
| Constructor | Description |
|---|---|
| EventGrid() |
Creates an instance of Event |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
accessKey1()
Get the access |
| String |
accessKey2()
Get the access |
|
Offset |
createdTime()
Get the created |
|
Endpoint |
endpointType()
Get the endpoint |
|
static
Event |
fromJson(JsonReader jsonReader)
Reads an instance of Event |
|
Endpoint |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
topicEndpoint()
Get the topic |
| void |
validate()
Validates the instance. |
|
Event |
withAccessKey1(String accessKey1)
Set the access |
|
Event |
withAccessKey2(String accessKey2)
Set the access |
|
Event |
withAuthenticationType(AuthenticationType authenticationType)
Set the authentication |
|
Event |
withDeadLetterSecret(String deadLetterSecret)
Set the dead |
|
Event |
withDeadLetterUri(String deadLetterUri)
Set the dead |
|
Event |
withIdentity(ManagedIdentityReference identity)
Set the identity property: Managed identity properties for the endpoint. |
|
Event |
withTopicEndpoint(String topicEndpoint)
Set the topic |
Methods inherited from DigitalTwinsEndpointResourceProperties
Methods inherited from java.lang.Object
Constructor Details
EventGrid
public EventGrid()
Creates an instance of EventGrid class.
Method Details
accessKey1
public String accessKey1()
Get the accessKey1 property: EventGrid secondary accesskey. Will be obfuscated during read.
Returns:
accessKey2
public String accessKey2()
Get the accessKey2 property: EventGrid secondary accesskey. Will be obfuscated during read.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Time when the Endpoint was added to DigitalTwinsInstance.
Overrides:
EventGrid.createdTime()Returns:
endpointType
public EndpointType endpointType()
Get the endpointType property: The type of Digital Twins endpoint.
Overrides:
EventGrid.endpointType()Returns:
fromJson
public static EventGrid fromJson(JsonReader jsonReader)
Reads an instance of EventGrid from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public EndpointProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.
Overrides:
EventGrid.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EventGrid.toJson(JsonWriter jsonWriter)Parameters:
Throws:
topicEndpoint
public String topicEndpoint()
Get the topicEndpoint property: EventGrid Topic Endpoint.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
EventGrid.validate()withAccessKey1
public EventGrid withAccessKey1(String accessKey1)
Set the accessKey1 property: EventGrid secondary accesskey. Will be obfuscated during read.
Parameters:
Returns:
withAccessKey2
public EventGrid withAccessKey2(String accessKey2)
Set the accessKey2 property: EventGrid secondary accesskey. Will be obfuscated during read.
Parameters:
Returns:
withAuthenticationType
public EventGrid 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.
Overrides:
EventGrid.withAuthenticationType(AuthenticationType authenticationType)Parameters:
withDeadLetterSecret
public EventGrid withDeadLetterSecret(String deadLetterSecret)
Set the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.
Overrides:
EventGrid.withDeadLetterSecret(String deadLetterSecret)Parameters:
withDeadLetterUri
public EventGrid withDeadLetterUri(String deadLetterUri)
Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.
Overrides:
EventGrid.withDeadLetterUri(String deadLetterUri)Parameters:
withIdentity
public EventGrid withIdentity(ManagedIdentityReference identity)
Set the identity property: Managed identity properties for the endpoint.
Overrides:
EventGrid.withIdentity(ManagedIdentityReference identity)Parameters:
withTopicEndpoint
public EventGrid withTopicEndpoint(String topicEndpoint)
Set the topicEndpoint property: EventGrid Topic Endpoint.
Parameters:
Returns: