Share via


AzureFunctionEventSubscriptionDestination Class

public class AzureFunctionEventSubscriptionDestination
extends EventSubscriptionDestination

Information about the azure function destination for an event subscription.

Constructor Summary

Constructor Description
AzureFunctionEventSubscriptionDestination()

Method Summary

Modifier and Type Method and Description
java.lang.Integer maxEventsPerBatch()

Get maximum number of events per batch.

java.lang.Integer preferredBatchSizeInKilobytes()

Get preferred batch size in Kilobytes.

java.lang.String resourceId()

Get the Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.

AzureFunctionEventSubscriptionDestination withMaxEventsPerBatch(Integer maxEventsPerBatch)

Set maximum number of events per batch.

AzureFunctionEventSubscriptionDestination withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)

Set preferred batch size in Kilobytes.

AzureFunctionEventSubscriptionDestination withResourceId(String resourceId)

Set the Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AzureFunctionEventSubscriptionDestination

public AzureFunctionEventSubscriptionDestination()

Method Details

maxEventsPerBatch

public Integer maxEventsPerBatch()

Get maximum number of events per batch.

Returns:

the maxEventsPerBatch value

preferredBatchSizeInKilobytes

public Integer preferredBatchSizeInKilobytes()

Get preferred batch size in Kilobytes.

Returns:

the preferredBatchSizeInKilobytes value

resourceId

public String resourceId()

Get the Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.

Returns:

the resourceId value

withMaxEventsPerBatch

public AzureFunctionEventSubscriptionDestination withMaxEventsPerBatch(Integer maxEventsPerBatch)

Set maximum number of events per batch.

Parameters:

maxEventsPerBatch - the maxEventsPerBatch value to set

Returns:

the AzureFunctionEventSubscriptionDestination object itself.

withPreferredBatchSizeInKilobytes

public AzureFunctionEventSubscriptionDestination withPreferredBatchSizeInKilobytes(Integer preferredBatchSizeInKilobytes)

Set preferred batch size in Kilobytes.

Parameters:

preferredBatchSizeInKilobytes - the preferredBatchSizeInKilobytes value to set

Returns:

the AzureFunctionEventSubscriptionDestination object itself.

withResourceId

public AzureFunctionEventSubscriptionDestination withResourceId(String resourceId)

Set the Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.

Parameters:

resourceId - the resourceId value to set

Returns:

the AzureFunctionEventSubscriptionDestination object itself.

Applies to