次の方法で共有


TransferAllDetails Class

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

Implements

public final class TransferAllDetails
implements JsonSerializable<TransferAllDetails>

Details to transfer all data.

Constructor Summary

Constructor Description
TransferAllDetails()

Creates an instance of TransferAllDetails class.

Method Summary

Modifier and Type Method and Description
DataAccountType dataAccountType()

Get the dataAccountType property: Type of the account of data.

static TransferAllDetails fromJson(JsonReader jsonReader)

Reads an instance of TransferAllDetails from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean transferAllBlobs()

Get the transferAllBlobs property: To indicate if all Azure blobs have to be transferred.

Boolean transferAllFiles()

Get the transferAllFiles property: To indicate if all Azure Files have to be transferred.

void validate()

Validates the instance.

TransferAllDetails withDataAccountType(DataAccountType dataAccountType)

Set the dataAccountType property: Type of the account of data.

TransferAllDetails withTransferAllBlobs(Boolean transferAllBlobs)

Set the transferAllBlobs property: To indicate if all Azure blobs have to be transferred.

TransferAllDetails withTransferAllFiles(Boolean transferAllFiles)

Set the transferAllFiles property: To indicate if all Azure Files have to be transferred.

Methods inherited from java.lang.Object

Constructor Details

TransferAllDetails

public TransferAllDetails()

Creates an instance of TransferAllDetails class.

Method Details

dataAccountType

public DataAccountType dataAccountType()

Get the dataAccountType property: Type of the account of data.

Returns:

the dataAccountType value.

fromJson

public static TransferAllDetails fromJson(JsonReader jsonReader)

Reads an instance of TransferAllDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transferAllBlobs

public Boolean transferAllBlobs()

Get the transferAllBlobs property: To indicate if all Azure blobs have to be transferred.

Returns:

the transferAllBlobs value.

transferAllFiles

public Boolean transferAllFiles()

Get the transferAllFiles property: To indicate if all Azure Files have to be transferred.

Returns:

the transferAllFiles value.

validate

public void validate()

Validates the instance.

withDataAccountType

public TransferAllDetails withDataAccountType(DataAccountType dataAccountType)

Set the dataAccountType property: Type of the account of data.

Parameters:

dataAccountType - the dataAccountType value to set.

Returns:

the TransferAllDetails object itself.

withTransferAllBlobs

public TransferAllDetails withTransferAllBlobs(Boolean transferAllBlobs)

Set the transferAllBlobs property: To indicate if all Azure blobs have to be transferred.

Parameters:

transferAllBlobs - the transferAllBlobs value to set.

Returns:

the TransferAllDetails object itself.

withTransferAllFiles

public TransferAllDetails withTransferAllFiles(Boolean transferAllFiles)

Set the transferAllFiles property: To indicate if all Azure Files have to be transferred.

Parameters:

transferAllFiles - the transferAllFiles value to set.

Returns:

the TransferAllDetails object itself.

Applies to