AzureFunctionEventSubscriptionDestination Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventSubscriptionDestination - com.
azure. resourcemanager. eventgrid. models. AzureFunctionEventSubscriptionDestination
- com.
- com.
public final class AzureFunctionEventSubscriptionDestination
extends EventSubscriptionDestination
Information about the azure function destination for an event subscription.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureFunctionEventSubscriptionDestination() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Delivery |
deliveryAttributeMappings()
Get the delivery |
|
Endpoint |
endpointType()
Get the endpoint |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| Integer |
maxEventsPerBatch()
Get the max |
| Integer |
preferredBatchSizeInKilobytes()
Get the preferred |
| String |
resourceId()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Azure |
withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the delivery |
|
Azure |
withMaxEventsPerBatch(Integer maxEventsPerBatch)
Set the max |
|
Azure |
withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)
Set the preferred |
|
Azure |
withResourceId(String resourceId)
Set the resource |
Methods inherited from EventSubscriptionDestination
Methods inherited from java.lang.Object
Constructor Details
AzureFunctionEventSubscriptionDestination
public AzureFunctionEventSubscriptionDestination()
Creates an instance of AzureFunctionEventSubscriptionDestination class.
Method Details
deliveryAttributeMappings
public List<DeliveryAttributeMapping> deliveryAttributeMappings()
Get the deliveryAttributeMappings property: Delivery attribute details.
Returns:
endpointType
public EndpointType endpointType()
Get the endpointType property: Type of the endpoint for the event subscription destination.
Overrides:
AzureFunctionEventSubscriptionDestination.endpointType()Returns:
fromJson
public static AzureFunctionEventSubscriptionDestination fromJson(JsonReader jsonReader)
Reads an instance of AzureFunctionEventSubscriptionDestination from the JsonReader.
Parameters:
Returns:
Throws:
maxEventsPerBatch
public Integer maxEventsPerBatch()
Get the maxEventsPerBatch property: Maximum number of events per batch.
Returns:
preferredBatchSizeInKilobytes
public Integer preferredBatchSizeInKilobytes()
Get the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
Returns:
resourceId
public String resourceId()
Get the resourceId property: The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureFunctionEventSubscriptionDestination.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AzureFunctionEventSubscriptionDestination.validate()withDeliveryAttributeMappings
public AzureFunctionEventSubscriptionDestination withDeliveryAttributeMappings(List<DeliveryAttributeMapping> deliveryAttributeMappings)
Set the deliveryAttributeMappings property: Delivery attribute details.
Parameters:
Returns:
withMaxEventsPerBatch
public AzureFunctionEventSubscriptionDestination withMaxEventsPerBatch(Integer maxEventsPerBatch)
Set the maxEventsPerBatch property: Maximum number of events per batch.
Parameters:
Returns:
withPreferredBatchSizeInKilobytes
public AzureFunctionEventSubscriptionDestination withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)
Set the preferredBatchSizeInKilobytes property: Preferred batch size in Kilobytes.
Parameters:
Returns:
withResourceId
public AzureFunctionEventSubscriptionDestination withResourceId(String resourceId)
Set the resourceId property: The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.
Parameters:
Returns: