Class DatastoreDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.DatastoreDetails
-
- Direct Known Subclasses:
AzureBlobDatastore
,AzureDataLakeGen1Datastore
,AzureDataLakeGen2Datastore
,AzureFileDatastore
,HdfsDatastore
public class DatastoreDetails extends ResourceBase
Base definition for datastore contents configuration.
-
-
Constructor Summary
Constructors Constructor Description DatastoreDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreCredentials
credentials()
Get the credentials property: [Required] Account credentials.Boolean
isDefault()
Get the isDefault property: Readonly property to indicate if datastore is the workspace default datastore.void
validate()
Validates the instance.DatastoreDetails
withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials.DatastoreDetails
withDescription(String description)
Set the description property: The asset description text.DatastoreDetails
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.DatastoreDetails
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tags
-
-
-
-
Method Detail
-
credentials
public DatastoreCredentials credentials()
Get the credentials property: [Required] Account credentials.- Returns:
- the credentials value.
-
withCredentials
public DatastoreDetails withCredentials(DatastoreCredentials credentials)
Set the credentials property: [Required] Account credentials.- Parameters:
credentials
- the credentials value to set.- Returns:
- the DatastoreDetails object itself.
-
isDefault
public Boolean isDefault()
Get the isDefault property: Readonly property to indicate if datastore is the workspace default datastore.- Returns:
- the isDefault value.
-
withDescription
public DatastoreDetails withDescription(String description)
Set the description property: The asset description text.- Overrides:
withDescription
in classResourceBase
- Parameters:
description
- the description value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
public DatastoreDetails withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.- Overrides:
withProperties
in classResourceBase
- Parameters:
properties
- the properties value to set.- Returns:
- the ResourceBase object itself.
-
withTags
public DatastoreDetails withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.- Overrides:
withTags
in classResourceBase
- Parameters:
tags
- the tags value to set.- Returns:
- the ResourceBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classResourceBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-