Share via


MountConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.MountConfiguration

Implements

public final class MountConfiguration
implements JsonSerializable<MountConfiguration>

The file system to mount on each node.

Constructor Summary

Constructor Description
MountConfiguration()

Creates an instance of MountConfiguration class.

Method Summary

Modifier and Type Method and Description
AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration()

Get the azureBlobFileSystemConfiguration property: This property is mutually exclusive with all other properties.

AzureFileShareConfiguration azureFileShareConfiguration()

Get the azureFileShareConfiguration property: This property is mutually exclusive with all other properties.

CifsMountConfiguration cifsMountConfiguration()

Get the cifsMountConfiguration property: This property is mutually exclusive with all other properties.

static MountConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MountConfiguration from the JsonReader.

NfsMountConfiguration nfsMountConfiguration()

Get the nfsMountConfiguration property: This property is mutually exclusive with all other properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MountConfiguration withAzureBlobFileSystemConfiguration(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration)

Set the azureBlobFileSystemConfiguration property: This property is mutually exclusive with all other properties.

MountConfiguration withAzureFileShareConfiguration(AzureFileShareConfiguration azureFileShareConfiguration)

Set the azureFileShareConfiguration property: This property is mutually exclusive with all other properties.

MountConfiguration withCifsMountConfiguration(CifsMountConfiguration cifsMountConfiguration)

Set the cifsMountConfiguration property: This property is mutually exclusive with all other properties.

MountConfiguration withNfsMountConfiguration(NfsMountConfiguration nfsMountConfiguration)

Set the nfsMountConfiguration property: This property is mutually exclusive with all other properties.

Methods inherited from java.lang.Object

Constructor Details

MountConfiguration

public MountConfiguration()

Creates an instance of MountConfiguration class.

Method Details

azureBlobFileSystemConfiguration

public AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration()

Get the azureBlobFileSystemConfiguration property: This property is mutually exclusive with all other properties.

Returns:

the azureBlobFileSystemConfiguration value.

azureFileShareConfiguration

public AzureFileShareConfiguration azureFileShareConfiguration()

Get the azureFileShareConfiguration property: This property is mutually exclusive with all other properties.

Returns:

the azureFileShareConfiguration value.

cifsMountConfiguration

public CifsMountConfiguration cifsMountConfiguration()

Get the cifsMountConfiguration property: This property is mutually exclusive with all other properties.

Returns:

the cifsMountConfiguration value.

fromJson

public static MountConfiguration fromJson(JsonReader jsonReader)

Reads an instance of MountConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nfsMountConfiguration

public NfsMountConfiguration nfsMountConfiguration()

Get the nfsMountConfiguration property: This property is mutually exclusive with all other properties.

Returns:

the nfsMountConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAzureBlobFileSystemConfiguration

public MountConfiguration withAzureBlobFileSystemConfiguration(AzureBlobFileSystemConfiguration azureBlobFileSystemConfiguration)

Set the azureBlobFileSystemConfiguration property: This property is mutually exclusive with all other properties.

Parameters:

azureBlobFileSystemConfiguration - the azureBlobFileSystemConfiguration value to set.

Returns:

the MountConfiguration object itself.

withAzureFileShareConfiguration

public MountConfiguration withAzureFileShareConfiguration(AzureFileShareConfiguration azureFileShareConfiguration)

Set the azureFileShareConfiguration property: This property is mutually exclusive with all other properties.

Parameters:

azureFileShareConfiguration - the azureFileShareConfiguration value to set.

Returns:

the MountConfiguration object itself.

withCifsMountConfiguration

public MountConfiguration withCifsMountConfiguration(CifsMountConfiguration cifsMountConfiguration)

Set the cifsMountConfiguration property: This property is mutually exclusive with all other properties.

Parameters:

cifsMountConfiguration - the cifsMountConfiguration value to set.

Returns:

the MountConfiguration object itself.

withNfsMountConfiguration

public MountConfiguration withNfsMountConfiguration(NfsMountConfiguration nfsMountConfiguration)

Set the nfsMountConfiguration property: This property is mutually exclusive with all other properties.

Parameters:

nfsMountConfiguration - the nfsMountConfiguration value to set.

Returns:

the MountConfiguration object itself.

Applies to