Share via


AzureFileFilterDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.AzureFileFilterDetails

Implements

public final class AzureFileFilterDetails
implements JsonSerializable<AzureFileFilterDetails>

Filter details to transfer Azure files.

Constructor Summary

Constructor Description
AzureFileFilterDetails()

Creates an instance of AzureFileFilterDetails class.

Method Summary

Modifier and Type Method and Description
List<String> filePathList()

Get the filePathList property: List of full path of the files to be transferred.

List<String> filePrefixList()

Get the filePrefixList property: Prefix list of the Azure files to be transferred.

List<String> fileShareList()

Get the fileShareList property: List of file shares to be transferred.

static AzureFileFilterDetails fromJson(JsonReader jsonReader)

Reads an instance of AzureFileFilterDetails from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureFileFilterDetails withFilePathList(List<String> filePathList)

Set the filePathList property: List of full path of the files to be transferred.

AzureFileFilterDetails withFilePrefixList(List<String> filePrefixList)

Set the filePrefixList property: Prefix list of the Azure files to be transferred.

AzureFileFilterDetails withFileShareList(List<String> fileShareList)

Set the fileShareList property: List of file shares to be transferred.

Methods inherited from java.lang.Object

Constructor Details

AzureFileFilterDetails

public AzureFileFilterDetails()

Creates an instance of AzureFileFilterDetails class.

Method Details

filePathList

public List<String> filePathList()

Get the filePathList property: List of full path of the files to be transferred.

Returns:

the filePathList value.

filePrefixList

public List<String> filePrefixList()

Get the filePrefixList property: Prefix list of the Azure files to be transferred.

Returns:

the filePrefixList value.

fileShareList

public List<String> fileShareList()

Get the fileShareList property: List of file shares to be transferred.

Returns:

the fileShareList value.

fromJson

public static AzureFileFilterDetails fromJson(JsonReader jsonReader)

Reads an instance of AzureFileFilterDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFilePathList

public AzureFileFilterDetails withFilePathList(List<String> filePathList)

Set the filePathList property: List of full path of the files to be transferred.

Parameters:

filePathList - the filePathList value to set.

Returns:

the AzureFileFilterDetails object itself.

withFilePrefixList

public AzureFileFilterDetails withFilePrefixList(List<String> filePrefixList)

Set the filePrefixList property: Prefix list of the Azure files to be transferred.

Parameters:

filePrefixList - the filePrefixList value to set.

Returns:

the AzureFileFilterDetails object itself.

withFileShareList

public AzureFileFilterDetails withFileShareList(List<String> fileShareList)

Set the fileShareList property: List of file shares to be transferred.

Parameters:

fileShareList - the fileShareList value to set.

Returns:

the AzureFileFilterDetails object itself.

Applies to