RepetitionIndex Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.RepetitionIndex

Implements

public final class RepetitionIndex
implements JsonSerializable<RepetitionIndex>

The workflow run action repetition index.

Constructor Summary

Constructor Description
RepetitionIndex()

Creates an instance of RepetitionIndex class.

Method Summary

Modifier and Type Method and Description
static RepetitionIndex fromJson(JsonReader jsonReader)

Reads an instance of RepetitionIndex from the JsonReader.

int itemIndex()

Get the itemIndex property: The index.

String scopeName()

Get the scopeName property: The scope.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RepetitionIndex withItemIndex(int itemIndex)

Set the itemIndex property: The index.

RepetitionIndex withScopeName(String scopeName)

Set the scopeName property: The scope.

Methods inherited from java.lang.Object

Constructor Details

RepetitionIndex

public RepetitionIndex()

Creates an instance of RepetitionIndex class.

Method Details

fromJson

public static RepetitionIndex fromJson(JsonReader jsonReader)

Reads an instance of RepetitionIndex from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

itemIndex

public int itemIndex()

Get the itemIndex property: The index.

Returns:

the itemIndex value.

scopeName

public String scopeName()

Get the scopeName property: The scope.

Returns:

the scopeName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withItemIndex

public RepetitionIndex withItemIndex(int itemIndex)

Set the itemIndex property: The index.

Parameters:

itemIndex - the itemIndex value to set.

Returns:

the RepetitionIndex object itself.

withScopeName

public RepetitionIndex withScopeName(String scopeName)

Set the scopeName property: The scope.

Parameters:

scopeName - the scopeName value to set.

Returns:

the RepetitionIndex object itself.

Applies to