BatchReleaseCriteria Class

  • java.lang.Object
    • com.azure.resourcemanager.logic.models.BatchReleaseCriteria

Implements

public final class BatchReleaseCriteria
implements JsonSerializable<BatchReleaseCriteria>

The batch release criteria.

Constructor Summary

Constructor Description
BatchReleaseCriteria()

Creates an instance of BatchReleaseCriteria class.

Method Summary

Modifier and Type Method and Description
Integer batchSize()

Get the batchSize property: The batch size in bytes.

static BatchReleaseCriteria fromJson(JsonReader jsonReader)

Reads an instance of BatchReleaseCriteria from the JsonReader.

Integer messageCount()

Get the messageCount property: The message count.

WorkflowTriggerRecurrence recurrence()

Get the recurrence property: The recurrence.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BatchReleaseCriteria withBatchSize(Integer batchSize)

Set the batchSize property: The batch size in bytes.

BatchReleaseCriteria withMessageCount(Integer messageCount)

Set the messageCount property: The message count.

BatchReleaseCriteria withRecurrence(WorkflowTriggerRecurrence recurrence)

Set the recurrence property: The recurrence.

Methods inherited from java.lang.Object

Constructor Details

BatchReleaseCriteria

public BatchReleaseCriteria()

Creates an instance of BatchReleaseCriteria class.

Method Details

batchSize

public Integer batchSize()

Get the batchSize property: The batch size in bytes.

Returns:

the batchSize value.

fromJson

public static BatchReleaseCriteria fromJson(JsonReader jsonReader)

Reads an instance of BatchReleaseCriteria from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchReleaseCriteria if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the BatchReleaseCriteria.

messageCount

public Integer messageCount()

Get the messageCount property: The message count.

Returns:

the messageCount value.

recurrence

public WorkflowTriggerRecurrence recurrence()

Get the recurrence property: The recurrence.

Returns:

the recurrence value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBatchSize

public BatchReleaseCriteria withBatchSize(Integer batchSize)

Set the batchSize property: The batch size in bytes.

Parameters:

batchSize - the batchSize value to set.

Returns:

the BatchReleaseCriteria object itself.

withMessageCount

public BatchReleaseCriteria withMessageCount(Integer messageCount)

Set the messageCount property: The message count.

Parameters:

messageCount - the messageCount value to set.

Returns:

the BatchReleaseCriteria object itself.

withRecurrence

public BatchReleaseCriteria withRecurrence(WorkflowTriggerRecurrence recurrence)

Set the recurrence property: The recurrence.

Parameters:

recurrence - the recurrence value to set.

Returns:

the BatchReleaseCriteria object itself.

Applies to