RecallActionParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.models.RecallActionParameters

Implements

public final class RecallActionParameters
implements JsonSerializable<RecallActionParameters>

The parameters used when calling recall action on server endpoint.

Constructor Summary

Constructor Description
RecallActionParameters()

Creates an instance of RecallActionParameters class.

Method Summary

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

Reads an instance of RecallActionParameters from the JsonReader.

String pattern()

Get the pattern property: Pattern of the files.

String recallPath()

Get the recallPath property: Recall path.

JsonWriter toJson(JsonWriter jsonWriter)
RecallActionParameters withPattern(String pattern)

Set the pattern property: Pattern of the files.

RecallActionParameters withRecallPath(String recallPath)

Set the recallPath property: Recall path.

Methods inherited from java.lang.Object

Constructor Details

RecallActionParameters

public RecallActionParameters()

Creates an instance of RecallActionParameters class.

Method Details

fromJson

public static RecallActionParameters fromJson(JsonReader jsonReader)

Reads an instance of RecallActionParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RecallActionParameters 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 RecallActionParameters.

pattern

public String pattern()

Get the pattern property: Pattern of the files.

Returns:

the pattern value.

recallPath

public String recallPath()

Get the recallPath property: Recall path.

Returns:

the recallPath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withPattern

public RecallActionParameters withPattern(String pattern)

Set the pattern property: Pattern of the files.

Parameters:

pattern - the pattern value to set.

Returns:

the RecallActionParameters object itself.

withRecallPath

public RecallActionParameters withRecallPath(String recallPath)

Set the recallPath property: Recall path.

Parameters:

recallPath - the recallPath value to set.

Returns:

the RecallActionParameters object itself.

Applies to