Class PartialDataPathAssetReference
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.PartialAssetReferenceBase
-
- com.azure.resourcemanager.machinelearning.models.PartialDataPathAssetReference
-
public final class PartialDataPathAssetReference extends PartialAssetReferenceBase
Reference to an asset via its path in a datastore.
-
-
Constructor Summary
Constructors Constructor Description PartialDataPathAssetReference()
-
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.PartialDataPathAssetReference
withDatastoreId(String datastoreId)
Set the datastoreId property: ARM resource ID of the datastore where the asset is located.PartialDataPathAssetReference
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 PartialDataPathAssetReference 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 PartialDataPathAssetReference 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 PartialDataPathAssetReference 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 PartialDataPathAssetReference object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classPartialAssetReferenceBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-