Class DataPathAssetReference
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AssetReferenceBase
-
- com.azure.resourcemanager.machinelearning.models.DataPathAssetReference
-
public final class DataPathAssetReference extends AssetReferenceBase
Reference to an asset via its path in a datastore.
-
-
Constructor Summary
Constructors Constructor Description DataPathAssetReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
datastoreId()
Get the datastoreId property: ARM resource ID of the datastore where the asset is located.String
path()
Get the path property: The path of the file/directory in the datastore.void
validate()
Validates the instance.DataPathAssetReference
withDatastoreId(String datastoreId)
Set the datastoreId property: ARM resource ID of the datastore where the asset is located.DataPathAssetReference
withPath(String path)
Set the path property: The path of the file/directory in the datastore.
-
-
-
Method Detail
-
datastoreId
public String datastoreId()
Get the datastoreId property: ARM resource ID of the datastore where the asset is located.- Returns:
- the datastoreId value.
-
withDatastoreId
public DataPathAssetReference withDatastoreId(String datastoreId)
Set the datastoreId property: ARM resource ID of the datastore where the asset is located.- Parameters:
datastoreId
- the datastoreId value to set.- Returns:
- the DataPathAssetReference object itself.
-
path
public String path()
Get the path property: The path of the file/directory in the datastore.- Returns:
- the path value.
-
withPath
public DataPathAssetReference withPath(String path)
Set the path property: The path of the file/directory in the datastore.- Parameters:
path
- the path value to set.- Returns:
- the DataPathAssetReference object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAssetReferenceBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-